search

Home  >  Q&A  >  body text

Node.js installation error report Node-v can see the version number, but npm -v will report an error, wait online, solve

For a Windows computer, download the node installation package from the official website, install it in a fool-proof way, and keep going next until the last step. Node -v can check the version number, but npm -v shows that the fs module is not found. What should I do?

Waiting online

漂亮男人漂亮男人2812 days ago913

reply all(2)I'll reply

  • 迷茫

    迷茫2017-05-16 13:44:26

    npm installation failed. Reinstall node. npm will be automatically reinstalled

    reply
    0
  • 大家讲道理

    大家讲道理2017-05-16 13:44:26

    Execute the following command

    npm install -g npm@next
    npm install -g node-gyp
    npm install -g nodemon

    reply
    0
  • Cancelreply