npm install error
See original GitHub issueHi, I’m new here and I’m not very familiar with Node.js or JS. I installed node.js latest version and downloaded this project. then in vs code terminal I entered npm install
but this error came up. I don’t know how to fix this. can anybody help. Thank you very much
Issue Analytics
- State:
- Created 2 years ago
- Comments:18
Top Results From Across the Web
Common errors | npm Docs
Possible temporary npm registry glitch, or corrupted local server cache. Run npm cache clean and/or try again later. · This can be caused...
Read more >npm install error from the terminal - Stack Overflow
Running just "npm install" will look for dependencies listed in your package.json. The error you're getting says that you don't have a ...
Read more >NPM install error - Material Design for Bootstrap
Trying to install MDB pro 4.19.2 just downloaded and ran npm install but getting this error of sha512 not matching. Can someone tell...
Read more >How to solve npm ERR! code 1 when running npm install
Fix npm error code 1 by updating your dependencies · Update one package version in package.json file · Then run npm install ·...
Read more >Step by step solution for npm install error - M220JS - MongoDB
Delete the package-lock. · If you see a lot of warning & error messages related to npm-gyp, run npm rebuild & this should...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The issue is that you are using wrong version of node.
I HAVE FOUND A FIX for MAC USERS M1!
1- Open terminal and type:
nvm --version
if you don’t have nvm then you must install it with:curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install.sh | bash
it is vital that you RESTART TERMINAL after this step.
2- Open terminal again and run:
nvm install v16.13.0
3- re-download the source code from this github and open it in Visual Studio Code, do not open the past folder you had because most likely you have the modules installed already, just redownload and open a new folder.
4- in Visual Studio Code, press New Terminal
5- Run this code:
nvm use v16.13.0
then If you don’t have homebrew installed then install it with this command: (it can take 15 mins to install homebrew).
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
and then you must install the packages by running:eval $(/opt/homebrew/bin/brew shellenv)
brew install pkg-config cairo pango libpng jpeg giflib librsvg
if you have the packages already installed then use:
eval $(/opt/homebrew/bin/brew shellenv)
brew reinstall pkg-config cairo pango libpng jpeg giflib librsvg
now Run:
brew install yarn
thenyarn install
thennpm i
thennpm run generate
Everything should work now! If you have any error still, I am happy to help! It took me 5 hours to figure it out but I finally did.
@loganjat it’s
brew install yarn
My bad!