Open snoberkhanday opened 2 years ago
Try deleting yarn.lock and package.lock. Delete node_modules folder. Finally rerun npm install.
It's still there. Why have you made this installation complex? It's still not working. Please help me out here.
What node and npm versions are you running?
My node version is v16.15.1 My npm version is 8.11.0
Npm install works fine for me on node v16.17.0 and npm v8.15.0
What do you suggest? Should I update my npm? I tried everything and nothing's working. 😑
Hello, I just installed this repo and deployed it to my domain.
I also had this issue when I tried to clone it on my device, I fixed it by using the command:
npm install --force
My portfolio is all good, this repo is so great and easy to use. You can check mine here: https://www.jjlabajo.com
npm install --force @jjlabajo this solve it for me. Steps I took:
- Deleted the cloned project as I have messed a lot of things up.
- Cloned it from git again
- Deleted the yarn.lock file
- Run npm install -g gatsby-cli
- npm install --force
- npm start I was then able to view v4 project in my browser on using http://localhost:8000/
Did you try to use the correct node version specified by the author in .nvmrc?
after installing NVM
it is better to delete all the dirs and files specified in .gitignore or just re-pulling the repo
run
nmv install 14.16.0
nvm use 14.16.0
I'm having trouble with project installation
When I run npm i, it's showing me some error
"npm ERR! × Error: pngquant failed to build, make sure that libpng-dev is installed"