I have 1.32.0_beta3 installed on gentoo linux. When I start atom, I am informed that two packages “could not be loaded because they contain native modules that were compiled for an earlier version of Atom.” Attempting to rebuild the packages both fails with the same error:
/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin/node-gyp: line 5: /usr/share/atom/resources/app/apm/bin/../node_modules/.bin/node-gyp: Permission denied npm ERR! code ELIFECYCLE npm ERR! errno 126 npm ERR! email@example.com install: `node-gyp rebuild` npm ERR! Exit status 126 npm ERR! npm ERR! Failed at the firstname.lastname@example.org install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Since that node-gyp file is provided as part of the atom install, I assume that its misconfiguration (it also points to the wrong directory to find the link to node-gyp.js) is a problem with atom.
How can I fix this?
Thanks in advance for the help,