常见错误
{ [Error: Cannot find module ‘./build/Release/DTraceProviderBindings‘] code: ‘MODULE_NOT_FOUND‘ }
{ [Error: Cannot find module ‘./build/default/DTraceProviderBindings‘] code: ‘MODULE_NOT_FOUND‘ }
{ [Error: Cannot find module ‘./build/Debug/DTraceProviderBindings‘] code: ‘MODULE_NOT_FOUND‘ }
这个问题烦了好久,最终找到解决办法。
Try to install with --no-optional
option.
$ npm install hexo --no-optional
方法来自Huang Shiyang
时间: 2024-10-08 02:36:35