我正在从本教程中学习稳健性:https://www.youtube.com/watch?v=M576WGiDBdQ
还有一节是关于加纳奇、克莱伊和布朗尼的。Brownie不运行脚本,因为我无法安装ganache,因为我找不到它的原因。我在使用windows 10。
这是一些错误代码
npm ERR! code 1
npm ERR! path C:\Users\d\AppData\Roaming\npm\node_modules\ganache\node_modules\leveldown
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node-gyp rebuild
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@9.0.0
npm ERR! gyp info using node@14.17.3 | win32 | x64
npm ERR! gyp info find Python using Python version 3.9.6 found at "C:\Users\d\AppData\Local\Programs\Python\Python39\python.exe"
npm ERR! gyp info find VS using VS2019 (16.11.31727.386) found at:
npm ERR! gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools"
npm ERR! gyp info find VS run with --verbose for detailed information
npm ERR! gyp info spawn C:\Users\d\AppData\Local\Programs\Python\Python39\python.exe
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args 'C:\\Users\\d\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\gyp\\gyp_main.py',发布于 2022-05-19 17:12:10
你可以说出你运行的命令。
尽管如此,运行:npm install -g ganache-cli
获取其他参数的列表:ganache-cli --help
https://ethereum.stackexchange.com/questions/128396
复制相似问题