pokt-network / pocket-js-web3-provider

Pocket JavaScript Web3-Provider
MIT License
3 stars 1 forks source link

Package fails at installation #26

Closed pabelnl closed 4 years ago

pabelnl commented 4 years ago

The package is throwing multiple errors while doing npm install. The errors are related to some web3 dependencies. Changing the dependencies to fixed versions fixes the issue.

1- Add fixed versions for the dependencies. 2- Move the web3 packages to the devDependencies since they are only needed for the example tests. 3- Update package version to 0.0.4-rc

gyp ERR! node -v v12.15.0 gyp ERR! node-gyp -v v5.0.5 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! keccak@1.4.0 rebuild: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the keccak@1.4.0 rebuild script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.