node.js - 关于npm 的问题
PHP中文网
PHP中文网 2017-04-17 14:46:31
[Node.js讨论组]

$ 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中文网

认证0级讲师

全部回复(2)
PHP中文网

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的配置

怪我咯

404是网络问题,使用代理或者切换国内的NPM源,具体方式自己去查。

热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 意见反馈 讲师合作 广告合作 最新更新 English
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习
PHP中文网抖音号
发现有趣的

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号