You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change directory to a project that contains an invalid .nvmrc file and have the zsh integration enabled
# .nvmrc
engine-strict=true
19.4.0
What happened?
Switching to the directory containing a .nvmrc that has a key-value in it with the zsh integration active, displays an error
But running npx nvmrc validates the configuration.
Reordering the key-value in the .nvmrc file to come after the version fixes the issue. Also, without changing the .nvmrc file, disabling the zsh integration and explicitly executing nvm use in the directory causes no error.
What did you expect to happen?
Using the zsh integration to work the same as if I explicitly ran nvm use in the directory containing the nvmrc file.
Is there anything in any of your profile files that modifies the PATH?
I have changes in my PATH but the issue also occurs when performed in a clean codesandbox instance
The text was updated successfully, but these errors were encountered:
that suggests there's something going on with sed. the codesandbox is "locked" so i can't access it, but is there any chance that you're using any zsh global aliases, particularly one for sed?
Operating system and version:
OSX/Linux
nvm debug
output:nvm ls
output:How did you install
nvm
?install script
What steps did you perform?
Change directory to a project that contains an invalid
.nvmrc
file and have the zsh integration enabled# .nvmrc engine-strict=true 19.4.0
What happened?
Switching to the directory containing a
.nvmrc
that has a key-value in it with the zsh integration active, displays an errorBut running
npx nvmrc
validates the configuration.Reordering the key-value in the
.nvmrc
file to come after the version fixes the issue. Also, without changing the .nvmrc file, disabling the zsh integration and explicitly executingnvm use
in the directory causes no error.What did you expect to happen?
Using the zsh integration to work the same as if I explicitly ran
nvm use
in the directory containing the nvmrc file.Is there anything in any of your profile files that modifies the
PATH
?I have changes in my PATH but the issue also occurs when performed in a clean codesandbox instance
The text was updated successfully, but these errors were encountered: