14

node14.4 run hexo TypeError [ERR_INVALID_ARG_TYPE]

 3 years ago
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.
neoserver,ios ssh client

node14.4 run hexo TypeError [ERR_INVALID_ARG_TYPE]

发表于

2020-12-27

| 分类于 hexo

博客搭建

| 阅读次数: 1

本文字数: 250

|

阅读时长 ≈ 1 分钟

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版本。

坚持原创技术分享,您的支持将鼓励我继续创作!

© 2015 – 2020 Jeff Sui

| 882k

| 13:22

Hexo 强力驱动 v3.8.0

|

主题 – NexT.Gemini v7.1.1

7569

|

9172


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK