introlab / odas_web

A desktop visualization GUI for the ODAS library
MIT License
139 stars 54 forks source link

Failed installation, Code ELIFECYCLE, errno 255 #53

Open ouhaichi opened 3 years ago

ouhaichi commented 3 years ago

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! odas_studio@0.3.0 postinstall: `electron-rebuild`
npm ERR! Exit status 255
npm ERR! 
npm ERR! Failed at the odas_studio@0.3.0 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
GodCed commented 3 years ago

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.

mjlabe commented 3 years ago

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!

abhinit310 commented 3 years ago

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 .

amoussa646 commented 1 year ago

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