BlockChainVoting
BlockChainVoting copied to clipboard
npm install error
Hi, While running 'npm install' I am getting error : sushant@sprusty:~/Documents/webdev/study/BlockChainVoting$ npm install npm ERR! code 1 npm ERR! path /home/sushant/Documents/webdev/study/BlockChainVoting/node_modules/sha3 npm ERR! command failed npm ERR! command sh -c node-gyp rebuild npm ERR! make: Entering directory '/home/sushant/Documents/webdev/study/BlockChainVoting/node_modules/sha3/build' npm ERR! CXX(target) Release/obj.target/sha3/src/addon.o npm ERR! sha3.target.mk:117: recipe for target 'Release/obj.target/sha3/src/addon.o' failed npm ERR! make: Leaving directory '/home/sushant/Documents/webdev/study/BlockChainVoting/node_modules/sha3/build' npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using [email protected] npm ERR! gyp info using [email protected] | linux | x64
Hope, you were able to run this project successfully. How to solve this error.
same here, were you able to fix it??
fixed it. changed my node version to 14 and that was the fix
same error. please reply..
Hey, please let me know how did you fix this. I have been on it for some hours but I am still not able to run it.
fixed it. changed my node version to 14 and that was the fix
Now I am getting this error after installing node version 14.0.0:-
ERROR: npm v9.6.5 is known not to run on Node.js v14.0.0. This version of npm supports the following node versions: `^14.17.0 || ^16.13.0 || >=18.0.0`. You can find the latest version at https://nodejs.org/.
ERROR:
C:\Users\shangsit\AppData\Roaming\npm\node_modules\npm\node_modules\hosted-git-info\lib\index.js:63
#fill (template, opts) {
^
SyntaxError: Unexpected token '('
at wrapSafe (internal/modules/cjs/loader.js:1101:16)
at Module._compile (internal/modules/cjs/loader.js:1149:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1205:10)
at Module.load (internal/modules/cjs/loader.js:1034:32)
at Function.Module._load (internal/modules/cjs/loader.js:923:14)
at Module.require (internal/modules/cjs/loader.js:1074:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object.<anonymous> (C:\Users\shangsit\AppData\Roaming\npm\node_modules\npm\node_modules\npm-package-arg\lib\npa.js:8:19)
at Module._compile (internal/modules/cjs/loader.js:1185:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1205:10)
Please help