Troubleshooting
resource:// Delimiter Behavior
resource:// token parsing stops at : or ; delimiters. This is useful for PATH-like composition, but URL-like literals that include : can split unexpectedly.
Use plain string literals when you need : preserved as-is.
Missing Resource File Timing
resource://expands to absolute paths during export.- Existence checks happen when downstream tooling reads the path.
resource-content://reads at export time and fails early if missing.
HOME Missing Fallback
If HOME is not available, fallback defaults are literal:
~/.envlock~/.envlock/resources
These are not shell-expanded by envlock.
Debugging Checklist
- Run
envlock ... --output jsonto inspect final map. - Add
--log-level debugfor lifecycle logs. - Confirm profile path resolution (
-pvs--use). - Confirm resource root via
ENVLOCK_RESOURCE_HOME.