node.js - 关于npm 的问题

查看:155
本文介绍了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
应该怎么解决?

解决方案

npm bugs会搜索当前目录下package.json中bugs的参数,提交你的bug,你可以指定你的打开方式和仓库地址


npm bugs <projectName> --browser open --registry https://registry.npmjs.org/


{ 
  "url" : "https://github.com/owner/project/issues",
  "email" : "project@hostname.com"
}

检查你的package.json的配置

这篇关于node.js - 关于npm 的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆