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 48. This version of Node.js requires
NODE_MODULE_VERSION 57. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).

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

sudo cnpm install hexo-cli -g

 

相关文章:

  • 2022-01-13
  • 2021-06-13
  • 2022-12-23
猜你喜欢
  • 2021-05-14
  • 2021-05-14
  • 2021-12-29
  • 2022-12-23
  • 2022-12-23
  • 2021-12-03
  • 2021-11-06
相关资源
相似解决方案