This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 296
apm install error - plain npm works #294
Comments
For a native library to load within Atom or Atom Shell, it needs to be compiled against the v8 headers that Atom Shell ships with. Can you include the output of the build error you are seeing? |
The compile error: https://gist.github.com/mensinda/7445c13f9b21ac2e5ce4 |
Looks like an issue with the nan version being used. I think this might be addressed once nodejs/nan#276 ships. |
Upgrading nan fixed some compile errors but compiling ffi still fails. It seems to be a ffi issue node-ffi/node-ffi#187. |
@mensinda To work around this, I created some temporary npm packages:
|
@paulcbetts Thank you! Your packages are working for me. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I want to write a plugin for atom and have a dependency. Unfortunately ffi (a subdependency) fails to build with apm while
npm install ffi
works.As far as I know apm calls npm with some command line options, setting the chromium headers. Is it possible to use the default headers?
apm 0.136.0
npm 2.3.0
node 0.10.35
python 2.7.9
git 2.3.0
OS: Arch Linux (3.18.6-1-ARCH)
The text was updated successfully, but these errors were encountered: