Hexo 版本

时间:2022-12-04 12:32:42

Mac hexo s 启动Hexo服务报错如下:

Error: The module '/usr/local/lib/node_modules/hexo-cli/node_modules/.0.8.0@dtrace-provider/build/Release/DTraceProviderBindings.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION . This version of Node.js requires
NODE_MODULE_VERSION . Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).

hexo 版本的问题,安装最新版本即可

sudo cnpm install hexo-cli -g