Node-gyp fails to do stuff if atom beta is installed but not atom

  • I have Atom Beta installed, but not plain ol’ Atom…
  • apm install rails-model-schema gives me:
> runas@3.1.1 install /private/var/folders/ym/spr3gnrj0h52wvp16x9xnfbw7jvl0l/T/apm-install-dir-116027-7259-14cnd3t/node_modules/rails-model-schema/node_modules/pathwatcher/node_modules/runas
> node-gyp rebuild

make: *** No rule to make target `../../../../../../../../../../../../../../Applications/Atom', needed by `Makefile'.  Stop.
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Applications/Atom
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:820:12)
gyp ERR! System Darwin 15.2.0
gyp ERR! command "node" "/Applications/Atom" "rebuild"
gyp ERR! cwd /private/var/folders/ym/spr3gnrj0h52wvp16x9xnfbw7jvl0l/T/apm-install-dir-116027-7259-14cnd3t/node_modules/rails-model-schema/node_modules/pathwatcher/node_modules/runas
gyp ERR! node -v v0.10.40
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok
npm ERR! Darwin 15.2.0
npm ERR! argv "/Applications/Atom" "/Applications/Atom" "--globalconfig" "/Users/jaiken/.atom/.apm/.apmrc" "--userconfig" "/Users/jaiken/.atom/.apmrc" "install" "/private/var/folders/ym/spr3gnrj0h52wvp16x9xnfbw7jvl0l/T/d-116027-7259-xd0638/package.tgz" "--target=0.34.5" "--arch=x64"
npm ERR! node v0.10.40
npm ERR! npm  v2.13.3

npm ERR! runas@3.1.1 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the runas@3.1.1 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the runas package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls runas
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /private/var/folders/ym/spr3gnrj0h52wvp16x9xnfbw7jvl0l/T/apm-install-dir-116027-7259-14cnd3t/npm-debug.log

For some reason some Makefile or the other is hardcoded to reference ../../../../../../../../../../../../../../Applications/Atom


Would you mind opening an Issue on the repository and posting a link to that Issue here in this topic?