Issue
Unable to install truffle on ubuntu LTS 22.04 globally
Steps to Reproduce
sudo npm install -g truffle
Expected Behavior
Truffle should be installed globally
Actual Results
npm ERR! code 1
npm ERR! path /usr/local/lib/node_modules/truffle/node_modules/ganache/node_modules/@trufflesuite/bigint-buffer
npm ERR! command failed
npm ERR! command sh -c node-gyp rebuild
Environment
- Operating System: ubuntu LTS 22.04
- Ethereum client:
- Truffle version (
truffle version): 5.5.6
- node version (
node --version): 16.14.0
- npm version (
npm --version): 8.3.1