Closed ItFlyingStart closed 3 years ago
npm ERR! make: g++: No such file or directory
npm ERR! make: *** [addon.target.mk:119: Release/obj.target/addon/src/addon.o] Error 127
Looks like some node-gyp issue, maybe try updating? https://github.com/nodejs/node-gyp/wiki/Updating-npm%27s-bundled-node-gyp. If that doesn't work, you can open an issue here: https://github.com/cryptocoinjs/secp256k1-node
@jstarry : thanks. I have tried your solution, but I still get the same error. I have opened a new issue: https://github.com/cryptocoinjs/secp256k1-node/issues/178 like suggested.
Ah bummer, does it reproduce every time (even after removing node_modules)? Have you tried using node v14?
node v14
Yes, switch to node v14 works :-). Thanks for your help.
Ah, excellent! No problem
I got the next error when running
npm install
. Can you tell how to fix this issue?Environment Ubuntu 21.04 solana-cli 1.6.6 node v16.0.0 npm 7.11.2 rustup 1.24.1 rustc 1.51.0 cargo 1.51.0