14
node14.4 run hexo TypeError [ERR_INVALID_ARG_TYPE]
source link: http://jeffsui.github.io/2020/12/27/node14-4-run-hexo-TypeError-ERR-INVALID-ARG-TYPE/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
node14.4 run hexo TypeError [ERR_INVALID_ARG_TYPE]
Node升级到14.4 hexo 运行失败
node刚升级到14.4,结果发现使用hexo d
命令部署到gitee
上发现如下错误
> typeError [ERR_INVALID_ARG_TYPE]: The "mode" argument must be integer. Received an instance of Object
>
查阅相关资料发现是node版本太高导致,最终将node降级到12.14.0后,重新部署就成功了。
当然你也可以使用nvm来切换node版本。
坚持原创技术分享,您的支持将鼓励我继续创作!
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK