Level / classic-level

An abstract-level database backed by LevelDB.
MIT License
58 stars 11 forks source link

Error While Installing Hardhat #65

Closed zenc0derr closed 1 year ago

zenc0derr commented 1 year ago

Hi All, Facing an Issue while Installing Hardhat using yarn add --dev hardhat, there is an error:

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

zenc0derr commented 1 year ago

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.