NPM not working (Cannot find module 'internal/fs' - nodejs)

后端 未结 4 892
名媛妹妹
名媛妹妹 2021-01-12 21:01

NPM error on update. I recently update to Node version 7.x. Now npm is not working.

I am unable to locate the error, it may be due to -
npm ERR! Ca

4条回答
  •  时光说笑
    2021-01-12 21:10

    delete node_modules directory and then type in your console "npm install". For a reason that I dont know, if you only update npm, it does not fix the error, but re-installing npm everything is gonna be allright.

提交回复
热议问题