Closed legion0 closed 4 years ago
Having several node_modules
is a normal behavior: each module may have its own dependencies inside its own node_modules
(this is a big complaint about npm by the may).
I never got this error though.
npm install npm@latest -g
usually works).yes I am using WSL, i check permissions and they all seem fine user+group correct and drwxrwxrwx on all directories. updated npm as suggested but still getting the same error
did a hard reset of all packages and that fixed the issue
rm -rf node_modules package-lock.json && npm install npm i -D screeps-server-mockup
Getting error trying to install, running: npm i -D screeps-server-mockup
complaining about failing to rename /home/legion/workspace/screeps/node_modules/@screeps/backend/node_modules/lodash
why is there a node_modules inside node_modules ? seems odd to me (node noob here).
2020-04-24T21_03_32_483Z-debug.log terminal-output.txt