node.js - hexo出错

浏览:35日期:2022-09-17

问题描述

问题解答

回答1:

看这段

npm ERR! Refusing to install package with name 'hexo' under a packagenpm ERR! also called 'hexo'. Did you name your project the samenpm ERR! as the dependency you’re installing?

你的文件名也起的叫hexo?

回答2:

package.json name的值不能跟npm的包名相同。我也是刚填的坑。

相关文章: