hexo icon indicating copy to clipboard operation
hexo copied to clipboard

ERROR

Open ifgyong opened this issue 10 years ago • 2 comments

MacBook:ifgyong.github.io fgy$ hexo -v [Error: Module version mismatch. Expected 46, got 47.] { [Error: Cannot find module './build/default/DTraceProviderBindings'] code: 'MODULE_NOT_FOUND' } { [Error: Cannot find module './build/Debug/DTraceProviderBindings'] code: 'MODULE_NOT_FOUND' } hexo: 3.1.1 os: Darwin 15.3.0 darwin x64 http_parser: 2.5.0 node: 4.2.4 v8: 4.5.103.35 uv: 1.7.5 zlib: 1.2.8 ares: 1.10.1-DEV icu: 56.1 modules: 46 openssl: 1.0.2e

I try npm unstall hexo then npm install hexo --no-optional --save,but it don`t work for me.

ifgyong avatar Jan 30 '16 12:01 ifgyong

update npm like sudo npm i -g npm,then npm install hexo --no-optional --save,it works for me.

ifgyong avatar Jan 30 '16 12:01 ifgyong

Related https://github.com/hexojs/hexo/issues/1742#issuecomment-238649006

leggetter avatar Aug 09 '16 18:08 leggetter