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
Top comments (1)
Thank you for the solution sir! may want to post it here maybe? github.com/WordPress/gutenberg/iss...