Problem with Keccak when installing truffle
See original GitHub issueI keep have the same issue as described in the #1584 with Keccack when trying to install Truffle.
I have tried with different versions, I also tried to compltely unbinstall glo–bally and install globally again, but I always get the same error when installing:
npm install -g truffle
/Users/adriendulong/.nvm/versions/node/v12.0.0/bin/truffle -> /Users/adriendulong/.nvm/versions/node/v12.0.0/lib/node_modules/truffle/build/cli.bundled.js
> keccak@1.4.0 install /Users/adriendulong/.nvm/versions/node/v12.0.0/lib/node_modules/truffle/node_modules/keccak
> npm run rebuild || echo "Keccak bindings compilation fail. Pure JS implementation will be used."
> keccak@1.4.0 rebuild /Users/adriendulong/.nvm/versions/node/v12.0.0/lib/node_modules/truffle/node_modules/keccak
> node-gyp rebuild
CXX(target) Release/obj.target/keccak/src/addon.o
../src/addon.cc:37:47: error: too few arguments to function call, single
argument 'context' was not specified
unsigned int rate = info[0]->IntegerValue();`
Is anyone getting the same issue? Could it be related to the configuration of my node installation?
Thank you
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (7 by maintainers)
Top Results From Across the Web
npm error "Keccak bindings compilation fail." while installing ...
Use npm install -g truffle --unsafe-perm to install truffle this is probably happening due to a syntax issue of keccak which shouldn't ...
Read more >truffle version installation issue - Ethereum Stack Exchange
The issue is more node / npm related than it is blockchain. Its to do with a difference between your version of node...
Read more >ConsenSys/truffle - Gitter
I'm having issue installing Truffle: npm install -g truffle@5.0.2. It gives me a bunch of error: ... make: * [Release/obj.target/keccak/src/addon.o] Error 1
Read more >Not able to install truffle | Edureka Community
stack Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/truffle/node_modules/keccak/.node-gyp' gyp ERR! System Linux 4.15.0- ...
Read more >How we're making installation issues a thing of the past
In order to install those packages, NPM has to be able to compile them on the fly during installation, which means every Truffle...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This is still an issue with node
v13.9.0
. Is anyone planning on fixing this or will we always be forced to roll back our node version?I had this problem when trying to install everything globally. Once I removed all the packages globally and created a local instance of node, the packages installed without error in my local instance.