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?
to your account
I am using Debian 9 and latest NVM with Node 13.9 installed in it.
Always when I open terminal or execute "bash" command in existing terminal it hangs for 1-2 seconds.
Uninstalling NVM removed all of the delay. I tried also having only NVM without any Node installed which was noticeably faster than with Node.
Its minor problem but can be really annoying at some situations.
The text was updated successfully, but these errors were encountered:
If you run nvm unalias default, the issue will go away as well; you can also source nvm.sh in your profile with --no-use.
nvm unalias default
The slowness is caused by npm config get prefix, which nvm use runs.
npm config get prefix
Sorry, something went wrong.
I can't use the short "node" keyword in terminal after those though.
indeed, that's true.
There's nothing to be done to speed up nvm here until npm config get prefix is made faster, I'm afraid.
I opened issue in npm repo just incase there is some people who would care about it
No need, one already exists: npm/cli#1243
No branches or pull requests