taobataoma / meanTorrent

meanTorrent - MEAN.JS BitTorrent Private Tracker - Full-Stack JavaScript Using MongoDB, Express, AngularJS, and Node.js, A BitTorrent Private Tracker CMS with Multilingual, and IRC announce support, CloudFlare support. Demo at:
https://mean.im
Other
490 stars 146 forks source link

Error at npm install #98

Closed arso1er closed 5 years ago

arso1er commented 5 years ago

Hi, When I run npm install, I get the following error: npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! sharp@0.19.1 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the sharp@0.19.1 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

I found a related issue, where taobataoma told to install sharp or node-gyp, but I still get the error when I do npm install sharp.

My server run on ubuntu 18.04, with node 10.16.0 and npm 6.9.0

Thanks.

arso1er commented 5 years ago

After some digging, I found the answer. I installed nodejs 10.13.0 and it worked! Closing the issue.