hexo部署项目报错解决:The "mode" argument must be integer(无需node降版本)

洼地云 ai-quyi.png

hexo将项目部署到git报错信息如下:

FATAL {
  err: TypeError [ERR_INVALID_ARG_TYPE]: The "mode" argument must be integer. Received an instance of Object
      at copyFile (fs.js:1972:10)

解决办法是修改package.json文件,升级hexo-renderer-stylus到2.0.0版本:

npm update

Reference

  1. 解决 Hexo 在使用 Node.js 14 时的 Accessing non-existent property ‘xxx’ of module exports inside circular dependency
赞(2)
未经允许禁止转载:优米格 » hexo部署项目报错解决:The "mode" argument must be integer(无需node降版本)

评论 抢沙发

合作&反馈&投稿

商务合作、问题反馈、投稿,欢迎联系

广告合作侵权联系

登录

找回密码

注册