[Error: Module version mismatch. Expected 47, got 44.]
{ [Error: Cannot find module './build/default/DTraceProviderBindings'] code: 'MODULE_NOT_FOUND' }
{ [Error: Cannot find module './build/Debug/DTraceProviderBindings'] code: 'MODULE_NOT_FOUND' }
These error messages pop out everytime I invoke a hexo command.
Try to remove node_modules and run npm install again.
@tommy351 I did, but it does not work.
I also have the same problem.
update: I solved it by #1733
Use npm install --no-optional
I was also getting this but with the error:
[Error: Module version mismatch. Expected 46, got 47.]
It seems there was a mismatch between one of:
hexo in node_modules/.binhexo in /usr/local/bin/hexohexo which may well have been the one from 2.My solution was:
npm uninstall -g hexo-cli
rm /usr/local/bin/hexo
rm -rf node_modules
npm install
npm install -g hexo-cli
@leggetter thanks, it words for me
@leggetter thanks
@leggetter thanks, it works for me
@leggetter Thanks! ;)
Most helpful comment
I was also getting this but with the error:
It seems there was a mismatch between one of:
hexoinnode_modules/.binhexoin/usr/local/bin/hexohexowhich may well have been the one from 2.My solution was: