Facing error while installing in Ubuntu 20.04.1
Closed this issue · 1 comments
anupam-io commented
Unable to install this package. npm install
is giving the following error:
make: *** [sha3.target.mk:107: Release/obj.target/sha3/src/addon.o] Error 1
make: Leaving directory '/home/pam/Documents/Tokens/node_modules/sha3/build'
gyp ERR! build error
gyp ERR! stack Error:make
failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:198:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Linux 5.4.0-58-generic
gyp ERR! command "/usr/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/pam/Documents/Tokens/node_modules/sha3
gyp ERR! node -v v10.19.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! sha3@1.2.0 install:node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sha3@1.2.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in:
npm ERR! /home/pam/.npm/_logs/2021-01-02T04_16_46_133Z-debug.log
Any other tips for proper installation?
MatthieuScarset commented
Seems this issue existed on Ubuntu 16.04 too. Apparently, there this thread solved on Stack Overflow.