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

Installing for node-webkit v0.8.6 #311

Closed
ghost opened this issue Jul 4, 2014 · 10 comments
Closed

Installing for node-webkit v0.8.6 #311

ghost opened this issue Jul 4, 2014 · 10 comments

Comments

@ghost
Copy link

ghost commented Jul 4, 2014

Hello!

It seems there is a problem with the compilation process for node-webkit v0.8.6. I'm using this command:

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

But it seems this version is not supported, because this error is displayed

stack Error: node-webkit version '0.8.6' not supported

But if I choose v0.8.5 instead of v0.8.6, there is no problem, even when using node-webkit 0.8.6, and I can use the module.

Is there any solution to this problem?

Regards

@Mithgol
Copy link
Contributor

Mithgol commented Jul 4, 2014

@remy-phelipot

Currently the latest sqlite3 npm package is version 2.2.3 authored on 15 Apr 2014 (GMT).

The fix for node-webkit v0.8.6 was introduced later in node-pre-gyp v0.5.18. It will be included in the next version of the sqlite3 package.

@Mithgol
Copy link
Contributor

Mithgol commented Jul 4, 2014

@springmeyer Would you npm publish the master branch as version 2.2.4? (This would immediately provide a fix for this issue, I hope.)

@aguilaredu
Copy link

@remy-phelipot instead of installing it as an npm package install it from the project master branch. npm install https://github.com/mapbox/node-sqlite3/tarball/master --build-from-source --runtime=node-webkit --target_arch=ia32 --target=0.8.6 That made it work for me, it still doesn't work with node webkit >0.9.0 or 0.10.0-rc1.

@Mithgol
Copy link
Contributor

Mithgol commented Jul 6, 2014

@eduardoag For node-webkit 0.10.0-rc1 you could try installing from the experimental travis-refactor branch instead of master; in other words, npm install https://github.com/mapbox/node-sqlite3/tarball/travis-refactor --build-from-source --runtime=node-webkit --target_arch=ia32 --target=0.10.0-rc1

(And, if you try, tell us if it's successful.)

@aguilaredu
Copy link

@Mithgol Well you just made my day. Tested and it is up and running with node-webkit 0.10.0-rc1

@ghost
Copy link
Author

ghost commented Jul 6, 2014

@eduardoag Ok, I will try that on Monday ;) Thanks!
@Mithgol When this fix will be published, It will be perfect ;)

@springmeyer
Copy link
Contributor

master now works after #313, and soon I'll tag v2.2.4 which will fix this.

@ghost
Copy link
Author

ghost commented Jul 16, 2014

Thanks!

@Mithgol
Copy link
Contributor

Mithgol commented Jul 19, 2014

@remy-phelipot This issue should already be fixed by now. Please check.

@ghost
Copy link
Author

ghost commented Jul 21, 2014

@Mithgol The issue is fixed for me. Thanks

@ghost ghost closed this as completed Jul 21, 2014
This issue was closed.
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