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

sqlite3 error. bumping to 3.0.x? #5

Open
silentboatman opened this issue May 26, 2015 · 6 comments
Open

sqlite3 error. bumping to 3.0.x? #5

silentboatman opened this issue May 26, 2015 · 6 comments

Comments

@silentboatman
Copy link
Contributor

I get the following error when I try to install on an updated Arch Linux:

npm WARN engine [email protected]: wanted: {"node":">= 0.6.13 < 0.11.0"} (current: {"node":"0.12.4","npm":"2.10.1"})

When I update the sqlite3 dependencie to "~3.0.x" (in package.json) the build works fine.

So, Is it possible to bump the sqlite3 dependencie to "~3.0.x"?

Thanks! Great app btw!

@hbons
Copy link
Owner

hbons commented May 28, 2015

I got some errors when I used version 3. I'll have a look again, maybe it was due to something else.

@silentboatman
Copy link
Contributor Author

Ok. Let me know what errors you get, and I'll see if I can reproduce them.

@hbons
Copy link
Owner

hbons commented Jun 3, 2015

I remember now. I had to downgrade the sqlite version to make it work on OpenShift: f5f226e.

@silentboatman
Copy link
Contributor Author

hmm ok. Looks like this issue and this bug report. If you got the same error, it should have been fixed (according to the links) in nodejs-0.8..

What node.js version do you got?

@proxymoron
Copy link

Hey @hbons
Is this the same problem?

#######
kai@locker:~/Lockee$ npm install

|> [email protected] install /home/kai/Lockee/node_modules/sqlite3
|> node build.js

sh: 1: node: not found
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

npm ERR! [email protected] install: node build.js
npm ERR! Exit status 127
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! 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 build.js
npm ERR! You can get their info via:
npm ERR! npm owner ls sqlite3
npm ERR! There is likely additional logging output above.

npm ERR! System Linux 3.19.0-15-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /home/kai/Lockee
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.4.21
npm ERR! code ELIFECYCLE
npm WARN engine [email protected]: wanted: {"node":">=0.10.32"} (current: {"node":"0.10.25","npm":"1.4.21"})
|> [email protected] install /home/kai/Lockee/node_modules/node-sass
|> node scripts/install.js

sh: 1: node: not found
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/kai/Lockee/npm-debug.log
npm ERR! not ok code 0
#######

My linux skills are only basic at the moment and the bug article posted by @silentboatman doesn't explain how to fix it very well.

@silentboatman
Copy link
Contributor Author

Hi!

To see if it's the same issue I had, you do this. Open package.json and change this row:
"sqlite3": "~2.1.1"
to this:
"sqlite3": "~3.0.x"

And then you can try again to install it.

Another thing I noticed from your npm install output was this:

npm WARN engine [email protected]: wanted: {"node":">=0.10.32"} (current: {"node":"0.10.25","npm":"1.4.21"})

So maybe you have to update your node-package. The node version I have installed is 0.12.7 and the my npm version is 2.13.2 .

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