gpt4 book ai didi

javascript - 无法安装 hummus npm 模块

转载 作者:太空宇宙 更新时间:2023-11-03 22:29:36 25 4
gpt4 key购买 nike

我试图安装 hummus npm 模块。但它给了我一个错误列表。如果我以前安装过,有人可以告诉我是什么原因导致了这个问题吗?我使用的是 Windows 7。

> C:\Users\hmudunuri\Desktop\encryptionapp>npm install hummus           
> C:\Users\hmudunuri\Desktop\encryptionapp\node_modules\hummus>
> node-pre-gyp install --fallback-to-build node-pre-gyp ERR! stack
> Error: Failed to execute 'C:\Program Files\nodejs\node.e
> xe C:\Users\hmudunuri\Desktop\encryptionapp\node_modules\npm\node_modules\node-g
> yp\bin\node-gyp.js configure --fallback-to-build -- module=C:\Users\hmudunuri\Des
> ktop\encryptionapp\node_modules\hummus\binding\hummus.node -- module_name=hummus
> -- module_path=C:\Users\hmudunuri\Desktop\encryptionapp\node_modules\hummus\bindi
> ng' (1)
> node-pre-gyp ERR! stack at ChildProcess.<anonymous> (C:\Users\hmudunuri\Desk
> top\encryptionapp\node_modules\hummus\node_modules\node-pre- gyp\lib\util\compile .js:83:29)
> node-pre-gyp ERR! stack at emitTwo (events.js:87:13)
> node-pre-gyp ERR! stack at ChildProcess.emit (events.js:172:7)
> node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:829:16)
> node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/chi
> ld_process.js:211:5)
> node-pre-gyp ERR! System Windows_NT 6.1.7601
> node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\hmud
> unuri\\Desktop\\encryptionapp\\node_modules\\hummus\\node_modules\\node-pre-
> gyp\ \bin\\node-pre-gyp" "install" "--fallback-to-build"
> node-pre-gyp ERR! cwd C:\Users\hmudunuri\Desktop\encryptionapp\node_modules\hummus
> node-pre-gyp ERR! node -v v4.5.0
> node-pre-gyp ERR! node-pre-gyp -v v0.6.29
> node-pre-gyp ERR! not ok
> Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\hmudunuri\Desktop\e
> ncryptionapp\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js
> configure --
> fallback-to-build -- module=C:\Users\hmudunuri\Desktop\encryptionapp\node_modules
> \hummus\binding\hummus.node --module_name=hummus -- module_path=C:\Users\hmudunur
> i\Desktop\encryptionapp\node_modules\hummus\binding' (1)
> npm ERR! Windows_NT 6.1.7601
> npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\
> node_modules\\npm\\bin\\npm-cli.js" "install" "hummus"
> npm ERR! node v4.5.0
> npm ERR! npm v2.15.9
> npm ERR! code ELIFECYCLE
> npm ERR! hummus@1.0.60 install: node-pre-gyp install --fallback-to-build
> npm ERR! Exit status 1 npm ERR!
> npm ERR! Failed at the hummus@1.0.60 install script node-pre-gyp install -- fall
> back-to-build npm ERR! This is most likely a problem with the hummus package,
> npm ERR! not with npm itself.
> npm ERR! Tell the author that this fails on your system:
> npm ERR! node-pre-gyp install --fallback-to-build
> npm ERR! You can get information on how to open an issue for this project with:
> npm ERR! npm bugs hummus
> npm ERR! Or if that isn't available, you can get their info via:
> npm ERR!
> npm ERR! npm owner ls hummus
> npm ERR! There is likely additional logging output above.
> npm ERR! Please include the following file with any support request:
> npm ERR! C:\Users\hmudunuri\Desktop\encryptionapp\npm'

最佳答案

删除并重新安装鹰嘴 bean 泥。用

删除
npm remove hummus

并安装

npm install hummus

关于javascript - 无法安装 hummus npm 模块,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39385031/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com