aionnetwork / aion_miner

aion miner
57 stars 25 forks source link

npm install from aion_solo_pool throwing error #2

Closed JSorenSwanson closed 6 years ago

JSorenSwanson commented 6 years ago

npm install works appropriately in equihashverify (also within node-blake2 and stratum-pool) directory but throws "npm ERR! equihashverify@0.0.1's bundledDependencies should be an array" when executed from root aion_solo_pool dir.

npm v 3.5.2, node v6.11.4, node-gyp v3.4.0. miner reference client compiles perfectly. screenshot from 2018-02-03 00-24-32

aion-Ross commented 6 years ago

Could you try upgrading your node install?

The node version should be 8.9.3+

JSorenSwanson commented 6 years ago

I had some time to sit down today and get everything configured. I ran into a few more problems involving npm/node/node-gyp and finally narrowed the problem down to there being a permissions error involving npm package installation.

I fixed this by:

After I configured this directory, I reinstalled all the listed aion_solo_pool dependencies (node-gyp, node, bignum, bindings, etc.) and then ran sudo npm install --force in the root aion_solo_pool folder. The shell now executes correctly.

Linux Kernel v.4.15.0-041500, Ubuntu 17.10.