W
Wasp-lang7mo ago
Cash

Help with node version

I am having an issue using the correct node version this is the error I get. I have tried just using 18.12.0 both versions say they are installed
No description
2 Replies
heyooo
heyooo7mo ago
IDK if it's the SOP, but you can just: install nvm (looks like you're on linux: https://github.com/nvm-sh/nvm) restart your terminal session and run: nvm use 18.12 then check your version of node with: nvm -v which should give you: Now using node v18.12.0 if that goes well, you're ready to rock.
martinsos
martinsos6mo ago
@Cash so basically what @heyooo said, nvm should set that version for you and you should be good to go. It look like you did the right job with those command lines, but it seems it didn't affect your current terminal sessions which is quite weird. Try node --version, it will likely print 20 something. What I am guessing is the issue that your nvm installation/setup is not correct. I would advise going to nvm docs and making sure you install it correctly and can confirm it switches node version for you correctly.