-
Notifications
You must be signed in to change notification settings - Fork 295
apm-beta fails to install some packages if Atom Beta is installed but not Atom #499
Comments
I get the same issue on apm-beta even though I have both atom/atom beta installed: https://discuss.atom.io/t/failed-to-activate-because-native-module/27234/5?u=hedefalk |
Hi, I came here from this thread: https://discuss.atom.io/t/node-gyp-fails-to-do-stuff-if-atom-beta-is-installed-but-not-atom/24967 Is there any update to this? I'm having a similar issue, but I also have regular Atom installed in addition to Atom Beta. Installing from within Atom Beta and
The package is my own, and it installs fine in regular Atom. |
I'm also experiencing this issue. I've set up an example package with a single dependency that fails with Atom beta: $ apm-beta install https://github.com/viddo/reproduce-apm-beta-install-fail.git
Cloning https://github.com/viddo/reproduce-apm-beta-install-fail.git ✓
Installing modules ✗
> fsevents@1.0.14 install /private/var/folders/cf/2l8bklvj1l7fj6_hhr41zk880000gn/T/atom-git-package-clone-116918-36647-1778e5w/node_modules/fsevents
> node-pre-gyp install --fallback-to-build
Failed to execute '/Applications/Atom Beta.app/Contents/Resources/app/apm/bin/node /Applications/Atom Beta.app/Contents/Resources/app/apm/bin/../node_modules/.bin/node-gyp build --fallback-to-build --module=/private/var/folders/cf/2l8bklvj1l7fj6_hhr41zk880000gn/T/atom-git-package-clone-116918-36647-1778e5w/node_modules/fsevents/lib/binding/Release/electron-v1.3-darwin-x64/fse.node --module_name=fse --module_path=/private/var/folders/cf/2l8bklvj1l7fj6_hhr41zk880000gn/T/atom-git-package-clone-116918-36647-1778e5w/node_modules/fsevents/lib/binding/Release/electron-v1.3-darwin-x64' (1)
node-pre-gyp ERR! Tried to download: https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.0.14/fse-v1.0.14-electron-v1.3-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for fsevents@1.0.14 and electron@1.3.6 (electron-v1.3 ABI) (falling back to source compile with node-gyp)
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 Beta.app/Contents/Resources/app/apm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 14.5.0 Normal apm works fine: $ apm install https://github.com/viddo/reproduce-apm-beta-install-fail.git
Cloning https://github.com/viddo/reproduce-apm-beta-install-fail.git ✓
Installing modules ✓
Moving reproduce-apm-beta-install-fail to /Users/viddo/.atom/packages/reproduce-apm-beta-install-fail edit:
|
atom/node-spellchecker#39 is probably also related from the look of it |
After some more digging I found another issue with a similar symptom: atom/atom#3147 As mentioned in the last comment:
Giving the proposed solution in that thread (symlink) yields another but similar error: $ apm-beta install https://github.com/viddo/reproduce-apm-beta-install-fail.git
Cloning https://github.com/viddo/reproduce-apm-beta-install-fail.git ✓
Installing modules ✓
Moving reproduce-apm-beta-install-fail to /Users/viddo/.atom/packages/reproduce-apm-beta-install-fail ✓ The proper solution would probably be to get this fixed in |
The temporary solution is for the beta app to be released with the name |
Example and logs at https://discuss.atom.io/t/node-gyp-fails-to-do-stuff-if-atom-beta-is-installed-but-not-atom/24967/2
The text was updated successfully, but these errors were encountered: