hexo出错
Windows_NT 10.0.14393
npm ERR! argv "E:\node\node.exe" "C:\Users\vip\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "install" "hexo"
npm ERR! node v6.2.0
npm ERR! npm v4.3.0
npm ERR! code ENOSELF
npm ERR! Refusing to install package with name "hexo" under a package
npm ERR! also called "hexo". Did you name your project the same
npm ERR! as the dependency you're installing?
npm ERR!
npm ERR! For more information, see:
npm ERR! https://docs.npmjs.com/cli/in...
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/is...
npm ERR! Please include the following file with any support request:
npm ERR! C:UsersvipAppDataRoamingnpm-cache_logs2017-02-26T14_11_40_408Z-debug.log
我用npm install hexo出现了这个问题,请问有谁知道这个问题怎么解决?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
package.json
name的值不能跟npm的包名相同。
我也是刚填的坑。
看这段
你的文件名也起的叫hexo?