- Issues
- ISSUE-1012
CI/CD provider
mise: a tool version cannot be read statically
Control:CTRL-1001mise-en-place
📋 What is this?
A tool request in a mise config is a template ({{ env.NODE_VERSION }}), is empty, or is not a quoted string (node = 24, which mise rejects).
⚠️ Impact
Plumber reads files and never runs mise, so it cannot tell which version is requested or check it against forbiddenVersions: it reports the request instead of passing it.
🔧 How to fix
Write the version as a quoted literal (node = "24.11.1"), run mise lock, and commit both files. List the tool in exemptPackages if the version has to come from the environment.
# mise.toml: ❌ versions Plumber cannot read[tools]node = "{{ env.NODE_VERSION }}"go = 1.23# mise.toml: ✅ quoted literals[tools]node = "24.11.1"go = "1.23.4"💡 Tips
- When the lockfile check runs, the same request is also reported as not locked (ISSUE-1003).
⚙️ Configure this control
With the CLI alone: set it in your configuration file. Every field and default is in the controls index, CTRL-1001.
mise: a tool version cannot be read statically
Control:CTRL-1001mise-en-place
📋 What is this?
A tool request in a mise config is a template ({{ env.NODE_VERSION }}), is empty, or is not a quoted string (node = 24, which mise rejects).
⚠️ Impact
Plumber reads files and never runs mise, so it cannot tell which version is requested or check it against forbiddenVersions: it reports the request instead of passing it.
🔧 How to fix
Write the version as a quoted literal (node = "24.11.1"), run mise lock, and commit both files. List the tool in exemptPackages if the version has to come from the environment.
# mise.toml: ❌ versions Plumber cannot read[tools]node = "{{ env.NODE_VERSION }}"go = 1.23# mise.toml: ✅ quoted literals[tools]node = "24.11.1"go = "1.23.4"💡 Tips
- When the lockfile check runs, the same request is also reported as not locked (ISSUE-1003).
⚙️ Configure this control
With the CLI alone: set it in your configuration file. Every field and default is in the controls index, CTRL-1001.