Troubleshooting: Configuration Issues
This page covers common issues related to sley configuration.
Config warning: {module_path} used but no workspace detected
Cause: The tag-manager.prefix contains {module_path} but workspace discovery is not enabled.
Fix: Add a workspace section to .sley.yaml:
yaml
workspace:
discovery:
enabled: true
plugins:
tag-manager:
enabled: true
prefix: "{module_path}/v"versioning: invalid value error
Cause: The workspace.versioning field has an unrecognized value.
Fix: Use one of the valid values or omit the field entirely:
independent- each module versions separatelycoordinated- all modules share one version (default if omitted)
yaml
workspace:
versioning: independentError: .sley.yaml: invalid configuration
Cause: YAML syntax error or invalid configuration values.
Fix: Common YAML mistakes:
Tabs instead of spaces:
yaml
# Wrong - uses tabs
plugins:
tag-manager: true
# Correct - uses spaces
plugins:
tag-manager: trueMissing colon:
yaml
# Wrong
plugins
tag-manager: true
# Correct
plugins:
tag-manager: trueUnquoted special characters:
yaml
# Wrong
contributors:
format: @{username}
# Correct
contributors:
format: "@{username}"Configuration not being applied
Cause: Configuration precedence issue or file location problem.
Fix: Check these in order:
- Verify
.sley.yamlis in the project root:ls -la .sley.yaml - Check if
SLEY_PATHenv var is overriding:env | grep SLEY - Check if CLI flags are overriding config file settings
- Validate the file is readable:
sley doctor
Precedence (highest to lowest): CLI flags > env vars > .sley.yaml > defaults.
See Also
- Troubleshooting Hub - All troubleshooting categories
- Configuration Reference - Configuration options
- .sley.yaml Reference - Complete YAML reference
- Environment Variables - Environment configuration