Closed zenc0derr closed 1 year ago
Hi All, Facing an Issue while Installing Hardhat using yarn add --dev hardhat, there is an error:
yarn add --dev hardhat
error ./node_modules/classic-level: Command failed. Exit code: 127 Command: node-gyp-build
Even tried using npm, Got same error. npm Version of Error:
npm ERR! code 127 npm ERR! path ./node_modules/classic-level npm ERR! command failed npm ERR! command sh -c node-gyp-build npm ERR! sh: 1: node-gyp-build: not found
My Node version: v18.14.0
As mentioned in the comment: https://github.com/nodejs/node-gyp/issues/809#issuecomment-170033534 sudo apt-get install libkrb5-dev solved the issue for me.
sudo apt-get install libkrb5-dev
Hi All, Facing an Issue while Installing Hardhat using
yarn add --dev hardhat
, there is an error:Even tried using npm, Got same error. npm Version of Error:
My Node version: v18.14.0