Cannot build atom on Lubuntu 18.10


#1

Dear All,

Atom was running OK with my LUbuntu Box. After upgrading to 18.10, it fails to run.
So, I searched for a new atom package and was not able to find one.
Therefore, I try to build it, following the Atom documentation.
But it fails with the follwoing error :slight_smile:

Node:   v8.11.2
Npm:    v6.2.0
Installing script dependencies
gyp ERR! configure error 
gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/atom/script/node_modules/leveldown/build'
gyp ERR! System Linux 4.18.0-7-generic
gyp ERR! command "/usr/bin/node" "/opt/atom/script/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /opt/atom/script/node_modules/leveldown
gyp ERR! node -v v8.11.2
gyp ERR! node-gyp -v v3.7.0
gyp ERR! not ok 
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! leveldown@4.0.1 install: `prebuild-install || node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the leveldown@4.0.1 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

I would be very glad if someone could help.

Thanks for your help.
Best Regards
J-L