Answer the question
In order to leave comments, you need to log in
Why does npm ERR pop up! code MODULE_NOT_FOUND?
I install NodeJs using this link: https://learn.javascript.ru/ajax-nodejs
I
execute this item:
Select the directory in which you will solve problems. Run npm install node-static in it. I run it
and see the following on the screen:
npm ERR! code MODULE_NOT_FOUND
npm ERR! Cannot find module 'internal/fs'
Answer the question
In order to leave comments, you need to log in
1. Remove everything in /usr/local/lib/node_modules
2. Reinstall node again
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question