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

Fails to build for node-webkit using nw-gyp on mac #380

Closed
edhedges opened this issue Dec 29, 2014 · 2 comments
Closed

Fails to build for node-webkit using nw-gyp on mac #380

edhedges opened this issue Dec 29, 2014 · 2 comments

Comments

@edhedges
Copy link

I've previously gotten this to work on my windows machine using the following:

npm install sqlite3 --build-from-source --runtime=node-webkit --target_arch=ia32 --target="0.10.5"

On my mac I have a bit of a different set up and I'm unable to get things to build.

I used the following:

npm install sqlite3 --build-from-source --runtime=node-webkit --target_arch=x64 --target="0.11.5"

Here are the relevant logs:

1055 info install [email protected]
1056 info postinstall [email protected]
1057 info install [email protected]
1058 info postinstall [email protected]
1059 info install [email protected]
1060 verbose unsafe-perm in lifecycle false
1061 info [email protected] Failed to exec install script
1062 verbose unlock done using /Users/ed/.npm/_locks/sqlite3-7baed64d8652bf89.lock for /Users/ed/EdsDev/pensieve/node_modules/sqlite3
1063 verbose stack Error: [email protected] install: `node-pre-gyp install --fallback-to-build`
1063 verbose stack Exit status 1
1063 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:212:16)
1063 verbose stack     at EventEmitter.emit (events.js:98:17)
1063 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:14:12)
1063 verbose stack     at ChildProcess.emit (events.js:98:17)
1063 verbose stack     at maybeClose (child_process.js:766:16)
1063 verbose stack     at Process.ChildProcess._handle.onexit (child_process.js:833:5)
1064 verbose pkgid [email protected]
1065 verbose cwd /Users/ed/EdsDev/pensieve
1066 error Darwin 13.1.0
1067 error argv "node" "/usr/local/bin/npm" "install" "sqlite3" "--build-from-source" "--runtime=node-webkit" "--target_arch=x64" "--target=0.11.5"
1068 error node v0.10.35
1069 error npm  v2.1.16
1070 error code ELIFECYCLE
1071 error [email protected] install: `node-pre-gyp install --fallback-to-build`
1071 error Exit status 1
1072 error Failed at the [email protected] install script 'node-pre-gyp install --fallback-to-build'.
1072 error This is most likely a problem with the sqlite3 package,
1072 error not with npm itself.
1072 error Tell the author that this fails on your system:
1072 error     node-pre-gyp install --fallback-to-build
1072 error You can get their info via:
1072 error     npm owner ls sqlite3
1072 error There is likely additional logging output above.
1073 verbose exit [ 1, true ]
1074 verbose unbuild node_modules/sqlite3
1075 info preuninstall [email protected]

Any ideas? I couldn't find anything searching around so I figured I'd try here.

@lforge
Copy link

lforge commented Feb 13, 2015

I am having the same issue. Is there any update on this? Thanks.

@springmeyer
Copy link
Contributor

node-webkit 0.11.x is not supported. Stick to 0.10.x for now. Closing as duplicate of #404

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants