Good day. Put on a clean machine node.js. I create a new project, copy package.json, try to perform npm install, but I encounter such a disaster: Npm error

googling unfortunately did not help. Please tell me what to do and how to deal with it?

  • package.json - what is it? can try to create it, and then add dependencies? - titov_andrei

1 answer 1

I had the same problem when working with Docker, adding a parameter helped:

npm install --no-bin-links 

I also recommend using Yarn ( https://yarnpkg.com/lang/en/ ) instead of npm.