every time I run the hexo command, I encounter the following problems
{ [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' } After stackoverflowing, I got the solution npm install hexo --no-optional . Since the hexo module has many dependencies and rebuilds it in an unstable network environment, the same problem occurs, there is no need to reinstall the entire module. I found this module after going DTraceProviderBindings to the hexo folder. this extension allows you to create your own DTrace providers for your Node.js applications. That is, to create providers and probes that provide information specific to your application, rather than node runtime information. more about the github page .
Remove this add-on module
npm uninstall dtrace-provider Then more error information. But if you need to use this module, you can reinstall it.
npm install dtrace-provider course, this is optional.
source share