'How to debug npm ERR! errno -4094? [duplicate]
I'm doing my first React project, and following the MOOC instructions, I've had to create routes by this command : npm install react-router-dom
Then the console return me these errors :
I tried to :
- do it with my IDE closed,
- the project was not running,
- in different command prompt
Thank you
Solution 1:[1]
Try to remove all installed dependencies and then reinstall them again:
Clean cache (might help)
npm cache clean --force
Delete modules of project
rm -rf node_modules/
Reinstall modules of project
npm install
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Dabbel |