尝试设置开发环境,但是在运行“ npm install -g composer-cli@0.20”时出现以下错误
node-pre-gyp ERR! Tried to download(403): https://storage.googleapis.com/grpc-precompiled-binaries/node/grpc/v1.10.1/node-v64-linux-x64-glibc.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for grpc@1.10.1 and node@10.5.0 (node-v64 ABI, glibc) (falling back to source compile with node-gyp)
node-pre-gyp ERR! Pre-built binaries not installable for grpc@1.10.1 and node@10.5.0 (node-v64 ABI, glibc) (falling back to source compile with node-gyp)
node-pre-gyp ERR! Hit error Connection closed while downloading tarball file
答案 0 :(得分:0)
我的坏。我已经安装了最新的Node(10.13.0 LTS),但前提条件是 Node:8.9或更高版本(注意不支持版本9)
在安装8.9版(使用NVM)之后,能够成功安装“ composer-cli”软件包。