DEV Community

ishwar chandra tiwari
ishwar chandra tiwari

Posted on

npm install .staging issue

got it solved by removing `package-lock.json’ file, .npm file , node_modules file and cleaning npm cache
Required steps:

npm install npm@latest -g
npm cache clean — force
rm -rf ~/.npm
rm -rf node_modules
rm -f package-lock.json

In npm install .staging issue, When you run npm install, it creates the node_modules folder but all the modules go into a subfolder called .staging

Oldest comments (1)

Collapse
 
fsobh profile image
fsobh

Thank you for the solution sir! may want to post it here maybe? github.com/WordPress/gutenberg/iss...