Comments (5)
In the dir you're opening the shell, is there a .nvmrc
file?
from nvm.
There is no .nvmrc
file, this happens in any folder.
Or should I say it was happening, after a reboot everything seems to be happening as expected, any new shell has the default as default, 18 in my case.
from nvm.
Weird, please reopen if it happens again.
from nvm.
Just a note, this happened again, when having version 16 as default and setting 18 as the new default. Last time I thought there was an update that needed a system restart, but this time there was no update. However, the problem went away again with a restart.
The steps I took this time was:
0. I had version 16 set as default, with version 14 and 18 also installed
- I set the new default to be
lts/hydrogen
and set to 'use' the new default node -v
returned version 18 as expected, but if the Terminal was restarted, the command returned version 16, even ifnvm list
was displaying the default alias aslts/hydrogen
- I removed version 16 to make sure 18 will be the default
- after a reboot, out of curiosity, I installed
lts/gallium
again andnode -v
this time returned version 18 as expected
For now I cannot inspect this any further, but I will make a note in the future if I notice anything
from nvm.
Thanks. It would have been helpful to know what the value of $PATH
was during step 2, for future reference.
from nvm.
Related Issues (20)
- `nvm use` in vscode, run `npm script` and switch node versions automatically HOT 5
- [Feature Request]: is there an option can be used to exclude iojs? HOT 3
- Failed to install node using the install command HOT 5
- [spam]
- [spam]
- Error when using the Windows version of curl HOT 1
- [spam]
- curl-install-sh: `fatal: bad object` from git clone steps HOT 6
- uninstall failed HOT 2
- Consider adding an option for retrying binary downloads before switching to source code compilation or disable fallback to source code compilation if binary cannot be downloaded HOT 4
- [spam]
- "ls-remote",I'm a little confused as to how running that command didn't return the node version. HOT 11
- Unbound variable error with set -u.
- Fail to install with `install.sh` script HOT 5
- install-latest-npm does not work for node>=v14.17 HOT 1
- Potential 0.40.0 regression on Github Actions runners HOT 21
- unable to install nvm HOT 13
- [spam]
- Action Required: Fix Renovate Configuration HOT 7
- On Windows11, how to install nvm in Users profile? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nvm.