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

Node.js 6.x support #638

Closed
ghost opened this issue May 1, 2016 · 7 comments
Closed

Node.js 6.x support #638

ghost opened this issue May 1, 2016 · 7 comments

Comments

@ghost
Copy link

ghost commented May 1, 2016

Node.js v6.0.0, sqlite3 v3.1.3, Windows 10 x64.
I have an error "Cannot find module ...\sqlite3\lib\binding\node-v48-win32-x64\node_sqlite3.node".
There are only "node-v47-win32-x64" folder in ...\sqlite3\lib\binding .

@10mitri
Copy link

10mitri commented May 1, 2016

Same problem as yisk with Windows10 x86.

@tswaters
Copy link

tswaters commented May 1, 2016

Because of the new V8 version, if you update to 6.0.0 you need to npm rebuild or delete node_modules and try again.

Note that because this new version of Node.js is shipping with a new version of V8, you will need to recompile any native addons you have already installed or you will receive a runtime error when trying to load them. Use npm rebuild or simply remove your node_modules directory and npm install from scratch.

https://nodejs.org/en/blog/release/v6.0.0/

@ghost
Copy link
Author

ghost commented May 2, 2016

Well, I finally did it. That rebuilding was really tricky (Python2.7, Windows SDK-8.1, VS C++ tools).
Now I have a lot of deprecation warnings, but there is related issue already.

@frankhale
Copy link

Try rebuilding with nan 2.3.2 and the deprecation warnings should go away.

related issue: #634

@ghost
Copy link
Author

ghost commented May 2, 2016

Yep, it helps.

@jaumard
Copy link

jaumard commented May 10, 2016

Any news on this ? Release date ? Because I can make it work locally but all CI tests are failing because of this error.

Failed to execute '/home/travis/.nvm/versions/node/v6.1.0/bin/node /home/travis/.nvm/versions/node/v6.1.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/travis/build/trailsjs/trailpack-sequelize/node_modules/sqlite3/lib/binding/node-v48-linux-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/home/travis/build/trailsjs/trailpack-sequelize/node_modules/sqlite3/lib/binding/node-v48-linux-x64' (1)
npm ERR! Linux 3.13.0-40-generic
npm ERR! argv "/home/travis/.nvm/versions/node/v6.1.0/bin/node" "/home/travis/.nvm/versions/node/v6.1.0/bin/npm" "install"
npm ERR! node v6.1.0
npm ERR! npm  v3.8.6
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script 'node-pre-gyp install --fallback-to-build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the sqlite3 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-pre-gyp install --fallback-to-build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs sqlite3
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls sqlite3
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /home/travis/build/trailsjs/trailpack-sequelize/npm-debug.log
The command "eval npm install " failed 3 times.

Full Travis build here https://travis-ci.org/trailsjs/trailpack-sequelize/jobs/129071450

@springmeyer
Copy link
Contributor

[email protected] has been released, which is the first one to support node v6.

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

5 participants