运行 OAuthd 实例的问题 [英] Issues running OAuthd instance

查看:39
本文介绍了运行 OAuthd 实例的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试在我的目录中运行 OAuth 实例时遇到问题.

I encounter problems when I try to run the OAuth instance in my directory.

(基于 https://github.com/oauth-io/oauthd)我的Redis 服务器已启动并运行,一切就绪.我遵循了所有说明,仔细检查了所有内容,甚至尝试重新安装 node、redis 和 oauthd.然而,每次我运行 oauthd start 命令时,我都会得到相同的输出:

(Based on https://github.com/oauth-io/oauthd) My Redis server is up and running, all is set. I followed all the instructions, doubled check everything and even tried a fresh re-install of node, redis and oauthd. Yet, 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 ?

提前致谢!^Q

推荐答案

我在几天内遇到了这个错误,然后我找到了解决它的方法.对于在 MacOS 上遇到此错误并使用 yarn 而不是 npm 的任何人,请按照以下步骤操作:- 安装 CodeX 并打开它,接受术语 &隐私.- 全局安装node-gyp(如果安装了node-gyp,请尝试删除它然后重新添加).

I met this error in couple days then I found a way to fix it. For anyone got this error on MacOS and using yarn instead of npm, please follow those steps: - Install CodeX and open it, accept the term & privacy. - Install node-gyp globally ( if node-gyp was installed, please try to remove it then add again).

yarn global remove node-gyp
yarn global add node-gyp
yarn

这篇关于运行 OAuthd 实例的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆