Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encountering problems while executing : npm install exec-sync #9094

Closed
jjcr opened this issue Oct 14, 2016 · 1 comment
Closed

Encountering problems while executing : npm install exec-sync #9094

jjcr opened this issue Oct 14, 2016 · 1 comment
Labels
invalid Issues and PRs that are invalid. question Issues that look for answers.

Comments

@jjcr
Copy link

jjcr commented Oct 14, 2016

Version: output of node -v
Platform: Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u1 x86_64 GNU/Linux

Version info :

node@4.6.0
node-gyp@3.4.0
npm@2.15.9 

I try to install the following dependencies :

 "canvas": "^1.1.6",
 "exec-sync": "^0.1.6",
 "fabric": "^1.6.0",
 "request": "^2.67.0",
 "word": "^0.2.4" 

So i do an npm install the following dependencies are installed:


 "canvas": "^1.1.6",   
 "fabric": "^1.6.0",
 "request": "^2.67.0",
 "word": "^0.2.4" 

But the exec-sync delivers the following error:


1443 verbose stack Error: ffi@1.2.5 install: `node-gyp rebuild`
1443 verbose stack Exit status 1
1443 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/lib/utils/lifecycle.js:217:16)
1443 verbose stack     at emitTwo (events.js:87:13)
1443 verbose stack     at EventEmitter.emit (events.js:172:7)
1443 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/lib/utils/spawn.js:24:14)
1443 verbose stack     at emitTwo (events.js:87:13)
1443 verbose stack     at ChildProcess.emit (events.js:172:7)
1443 verbose stack     at maybeClose (internal/child_process.js:829:16)
1443 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)

Im a litte bit lost at this point, i tried the following things:

Deleted all the node_modules and tried an fresh install;
Tried installing the modules seperately;
Is it a version problem of node.js vs the exec-sync build?, im lost.

@bnoordhuis
Copy link
Member

You should probably report this against the ffi project, seeing how that is giving you trouble. Make sure you have the prerequisites from https://github.com/nodejs/node-gyp installed (basically, a working compiler toolchain.)

If you can't make it work, file an issue over at https://github.com/nodejs/help. This issue tracker is only for node.js core-related issues (which your issue isn't) so I'll go ahead and close it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid Issues and PRs that are invalid. question Issues that look for answers.
Projects
None yet
Development

No branches or pull requests

2 participants