introlab/odas_web

Failed installation, Code ELIFECYCLE, errno 255

ouhaichi opened this issue ยท 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! 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

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.

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!

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 .

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