Home  >  Q&A  >  body text

node.js - 关于npm 的问题

$ npm bugs Myvueproject
npm ERR! Windows_NT 6.1.7600
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "bugs" "Myvueproject"
npm ERR! node v4.5.0
npm ERR! npm v3.10.6
npm ERR! code E404

npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/vu...
npm ERR! 404
npm ERR! 404 'vueproject' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! Please include the following file with any support request:
npm ERR! C:usersAdministratorMyvueprojectnpm-debug.log
应该怎么解决?

PHP中文网PHP中文网2766 days ago805

reply all(2)I'll reply

  • PHP中文网

    PHP中文网2017-04-17 14:48:31

    npm bugs will search for the parameters of bugs in package.json in the current directory and submit your bug. You can specify your opening method and warehouse address

    
    npm bugs <projectName> --browser open --registry https://registry.npmjs.org/
    
    
    { 
      "url" : "https://github.com/owner/project/issues",
      "email" : "project@hostname.com"
    }

    Check the configuration of your package.json

    reply
    0
  • 怪我咯

    怪我咯2017-04-17 14:48:31

    404 is a network problem. Use a proxy or switch to the domestic NPM source. Check the specific method yourself.

    reply
    0
  • Cancelreply