WordPress迁移Hexo出错

按照Hexo的迁移教程,使用如下命令报错:

npm install hexo-migrator-wordpress --save

也参考了提问:
wordpress迁移到hexo,安装迁移插件时报错error Unexpected end of JSON
使用如下命令:

npm install https://github.com/hexojs/hexo-migrator-wordpress.git --save

错误代码如下:

npm WARN saveError ENOENT: no such file or directory, open '/Users/felixxiong/package.json'

npm WARN enoent ENOENT: no such file or directory, open '/Users/felixxiong/package.json'
npm WARN felixxiong No description
npm WARN felixxiong No repository field.
npm WARN felixxiong No README data
npm WARN felixxiong No license field.

\+ hexo-migrator-wordpress@2.0.0
updated 1 package and audited 306 packages in 10.682s
8 packages are looking for funding

run \`npm fund\` for details
found 0 vulnerabilities

npm版本 6.14.7,谢谢

阅读 1.3k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题
宣传栏