Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fnm use system breaks node #1311

Open
andyhasit opened this issue Nov 7, 2024 · 0 comments
Open

fnm use system breaks node #1311

andyhasit opened this issue Nov 7, 2024 · 0 comments

Comments

@andyhasit
Copy link

Already have node installed.
Installed fnm via curl on Linux Mint 22, went into dir with .nvmrc file, was able to set version.

Expected nvm use system to point node back to system node, but instead it breaks the node command until I point it back to an installed version:

andrew@mint:/code/np-front$ cat .nvmrc 
20.17.0
andrew@mint:/code/np-front$ fnm use
Using Node v20.17.0
andrew@mint:/code/np-front$ fnm list
* v20.17.0 default
* system
andrew@mint:/code/np-front$ fnm use system
Bypassing fnm: using system node
andrew@mint:/code/np-front$ node --version
bash: /run/user/1000/fnm_multishells/361513_1730982949486/bin/node: Not a directory
andrew@mint:/code/np-front$ fnm use
Using Node v20.17.0
andrew@mint:/code/np-front$ node --version
v20.17.0
andrew@mint:/code/np-front$ 

I could get round this by installing the system version using fnm, but this is still unexpected behaviour that breaks all my other projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant