odas_web icon indicating copy to clipboard operation
odas_web copied to clipboard

Failed installation, Code ELIFECYCLE, errno 255

Open ouhaichi opened this issue 4 years ago • 4 comments

2020-11-22T14_38_39_443Z-debug.log

Installation failed on ubuntu20.04.1 with Python 2.7.18 and node12.19.1 I couldn't get much help from the log file, but I attached it above. I get a whole load of logs in the console (just a listing of all files in odas_web) but it ends with:

npm ERR! code ELIFECYCLE
npm ERR! errno 255
npm ERR! [email protected] postinstall: `electron-rebuild`
npm ERR! Exit status 255
npm ERR! 
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/hamza/.npm/_logs/2020-11-22T14_38_39_443Z-debug.log

ouhaichi avatar Nov 22 '20 15:11 ouhaichi

Hi, seems like something is off with a package version somewhere since the package_lock file was last commited. Try running:

npm cache clean --force 
rm -rf node_modules package-lock.json
npm install

from the root directory. That should allow npm to fetch a proper set of compatible packages.

GodCed avatar Nov 23 '20 00:11 GodCed

I almost comment that it didn't work because it was on ⠇ Building module: grpc, Completed: 0 for a very long time, but that seemed to work. Thanks!

mjlabe avatar Feb 16 '21 18:02 mjlabe

Hi, I am also facing the same issue. I have tried all the commands and steps mentioned above. But the error is still same. I am using the odas_web 0.3 (latest release) on Ubuntu.

Kindly help me .

abhinit310 avatar May 27 '21 01:05 abhinit310

any updates on this, i am facing the same issue on raspberrypi, and the above solutions didnt work

amoussa646 avatar Oct 19 '23 12:10 amoussa646