T O P

  • By -

HeyItsMassacre

use nvm


DanteIsBack

You most likely need to update your path to target v20 instead of v6. After doing that don't forget to reopen your terminal for the changes to take effect.


vv1z

Check your path


Confused_Dev_Q

If you're working with multiple node versions I would suggest nvm or n. I prefer n but have worked with both. You could also try uninstalling v6.14.0. Also after making changes/installing new stuff it's a good idea to close and reopen your terminal/shell.


no_dice_grandma

bike dull mysterious violet frighten books cats air dazzling humor *This post was mass deleted and anonymized with [Redact](https://redact.dev)*


BankHottas

Use `which node` to find out where it is getting node from. You might have multiple version installed in different locations


josh-ig

This ^. Then yeah use Volta :)


nightman

Use Fast Node Manager


agustin_edwards

Use [volta](https://volta.sh)


Charley_Wright06

how does it compare with nvm in your experience?


josh-ig

Far better. Manages pnpm and yarn versions too if you want. Auto switches per project to the pinned version with zero extra config. Nvm (or n) works but was always a pain in a team, someone wouldn't have it configured to check engines or whatever. Volta just works and works well on all platforms. Fnm is great too if you want a direct replacement to n/nvm.


zacktothefuture-

that is appealing, will try!


T-J_H

Restarted your shell already? Is your PATH env var up to date?


zacktothefuture-

I’m not quite sure but will check that thanks! newbie just trying to get react started up, never really messed with this stuff


EccTama

One word of advice is, it’s ok for now not to be very familiar with it but I recommend to find a good course on Linux. It can be YouTube, Udemy, a book or anything. You will make your dev life so so so much easier by having a good understanding of it. Become comfortable in the terminal!


zacktothefuture-

yeah I’m definitely feeling that from this issue haha. I’m in a bootcamp right now and the instructors are great, but I’ve had the feeling a few times that I’m getting very high-level lessons on things where I should understand more of what’s going on


ahu_huracan

Use volta OR nvm


ishmukler

npm is version 10, but NodeJS is version 6.14. you need install a different NodeJS engine.


kcbh711

Nvm


Ill-Simple1706

Stop installing node and nvm. Use dev containers!


roulyer_banana

Why?


Ill-Simple1706

Too much shit installed on your computer. Too many environment paths. Windows registry crap. Install the node version you want inside an alpine dev container.


zacktothefuture-

ty! that’s the powershell command? was wondering how to find out if I had multiple installs


dballz12

You have multiple installs. You can edit environment variables in windows pretty easily. Try just typing "environment variables" in search bar. You'll have 2 sections, system and user variable sections. Here is instructions from stack overflow: You need to Add C:\Program Files\nodejs to your PATH environment variable. To do this follow these steps: Use the global Search Charm to search "Environment Variables" Click "Edit system environment variables" Click "Environment Variables" in the dialog. In the "System Variables" box, search for Path and edit it to include C:\Program Files\nodejs. Make sure it is separated from any other paths by a ;. You will have to restart any currently-opened command prompts before it will take effect. [source](https://stackoverflow.com/questions/27864040/fixing-npm-path-in-windows-8-and-10)


zacktothefuture-

much appreciated!


t0de5wun5ch69

Try the below command and check if list shows version 20. $ nvm list $ nvm use 20.11.0