Windows 10上的bcrypt 3.0安装错误

我已经安装:

  1. Windows构建工具npm install --global --production windows-build-tools
  2. node-gyp npm install -g node-gyp
  3. bcrypt还已在全球安装,没有任何错误:npm install -g bcrypt

但仍然出现错误:

node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js build --fallback-to-build --module=C:\Users\bruce\Documents\duke\duke-jobsearcher-api\node_modules\bcrypt\lib\binding\bcrypt_lib.node --module_name=bcrypt_lib --module_path=C:\Users\bruce\Documents\duke\duke-jobsearcher-api\node_modules\bcrypt\lib\binding --napi_version=4 --node_abi_napi=napi' (1)

Windows 10上的bcrypt 3.0安装错误

a212346 回答:Windows 10上的bcrypt 3.0安装错误

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/2580934.html

大家都在问