Problems with OAuthd Instance

I am having problems trying to start an OAuth instance in my directory.

(Based on https://github.com/oauth-io/oauthd ). My Redis server is up and running, everything is installed. I followed all the instructions, doubled all the checks, and even tried a new reinstall of node, redis and oauthd. However, every time I run the oauthd start command, I get the same output:

 { [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' } { [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' } { [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' } { [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' } { [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' } 

Do you have any suggestion on how to fix this?

Thanks in advance! ^ Q

+1
source share
3 answers

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.

0
source

I have the same problem on my macOS. After that, do the following:

  • Install xcode
  • rm -rf node_modules
  • npm install

Everything is working fine.

0
source

I met this error after a couple of days, after which I found a way to fix it. For anyone who received this error on MacOS and using yarn instead of npm , follow these steps: - Install CodeX and open it, accept the term and privacy. - Install node-gyp globally (if node-gyp was installed, try uninstalling it and then adding it again).

 yarn global remove node-gyp yarn global add node-gyp yarn 
0
source

All Articles