calxibe / StorjMonitor

Node.js script for publishing data from local Storj nodes to Storjstat.com
15 stars 14 forks source link

Unable to run on linux with included node_modules #4

Closed joe-pritchard closed 6 years ago

joe-pritchard commented 6 years ago

On my Ubuntu server, the node modules included in the repo are not valid, and the app refuses to run. The solution to this is just to remove node_modules from the repo and run npm install after cloning locally

MrTechGadget commented 6 years ago

Yep, that is correct. I think this was originally designed to work with windows without having to install node or npm, so it contained precompiled windows libraries.

sibblegp commented 6 years ago

Same problem. I want to destroy that leaderboard :)

sibblegp commented 6 years ago

rm -rf node_modules/bindings

rm -rf node_modules/weak

npm install bindings

npm install weak

npm start

MrTechGadget commented 6 years ago

rm -rf node_modules npm install

Is much less typing....

stefanbenten commented 6 years ago

Added the needed Steps to an Install Routine! #9