1. 程式人生 > 其它 >成功解決gyp ERR! build error gyp ERR! stack Error: not found: make

成功解決gyp ERR! build error gyp ERR! stack Error: not found: make

技術標籤:linuxnode.jsnodejsnpmlinuxmakefile

使用npm安裝caliper-cli的時候報錯gyp ERR! build error gyp ERR! stack Error: not found: make

安裝了make還是報同樣的錯誤

npm install --only=prod @hyperledger/[email protected]

解決方案:提升和降低nodejs的版本即可

隨後重新執行npm install xxx指令即可

成功解決gyp ERR! build error gyp ERR! stack Error: not found: make

的問題。

歡迎小夥伴討論,文章內容如有錯誤請在評論區評論或發私聊訊息,謝謝你。