-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Open
Description
For those who are getting error while running npm install
Then there is a quick fix for this I have struggled with this many time and so I'm writing this issue for future users of this tool
Try installing node v14.21.3
- Install nvm(node version manager if node is already installed) or install node from their website but there is a specific version
- only install v14.21.3 in this case to be able to fix this issue if node is already installed and if nvm is installed too then use command
nvm install 14.21.3or download from node js v14.21.3 official website of node js - if installed using nvm then run
nvm use v14.21.3otherwise installed from website then no need to run this command if you've installed node for the first time - make sure to check node versions already installed if you have multiple node js versions downloaded
nvm lsto view list of downloaded version if v14.21.3 is not in the list then installed or if is in the list then nvm use v14.21.3 to use it
That's it you're good to go I have provided safe source links make sure that you reverify things whenever you're following this
Good luck 🧑🏼💻
Metadata
Metadata
Assignees
Labels
No labels