使用npm
安装caliper-cli
的时候报错gyp ERR! build error gyp ERR! stack Error: not found: make
安装了make还是报同样的错误
npm install --only=prod @hyperledger/caliper-cli@0.4.0
解决方案:提升和降低nodejs的版本即可
随后重新执行npm install xxx指令即可
成功解决gyp ERR! build error gyp ERR! stack Error: not found: make
的问题。
欢迎小伙伴讨论,文章内容如有错误请在评论区评论或发私聊消息,谢谢你。