请指导,因为自从过去几天我无法解决问题。
我正在使用Elasticbeanstalk。为什么二进制文件无法安装?
node-pre-gyp ERR! Pre-built binaries not installable for bcrypt@2.0.1 and node@8.11.1 (node-v57 ABI, glibc) (falling back to source compile with node-gyp)
以下日志提供权限错误。有人可以指导如何纠正这个问题吗?
node-pre-gyp ERR! Hit error EACCES: permission denied, mkdir '/tmp/deployment/application/node_modules/bcrypt/lib'
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/tmp/deployment/application/node_modules/bcrypt/build'
gyp ERR! System Linux 4.14.33-51.37.amzn1.x86_64
gyp ERR! command "/opt/elasticbeanstalk/node-install/node-v8.11.1-linux-x64/bin/node" "/opt/elasticbeanstalk/node-install/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/tmp/deployment/application/node_modules/bcrypt/lib/binding/bcrypt_lib.node" "--module_name=bcrypt_lib" "--module_path=/tmp/deployment/application/node_modules/bcrypt/lib/binding" "--napi_version=1" "--node_abi_napi=napi"
gyp ERR! cwd /tmp/deployment/application/node_modules/bcrypt
gyp ERR! node -v v8.11.1
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
node-pre-gyp ERR! build error