Lockee icon indicating copy to clipboard operation
Lockee copied to clipboard

sqlite3 error. bumping to 3.0.x?

Open silentboatman opened this issue 10 years ago • 6 comments

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!

silentboatman avatar May 26 '15 15:05 silentboatman

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

hbons avatar May 28 '15 20:05 hbons

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

silentboatman avatar May 29 '15 06:05 silentboatman

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

hbons avatar Jun 03 '15 11:06 hbons

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?

silentboatman avatar Jun 03 '15 12:06 silentboatman

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.

proxymoron avatar Aug 03 '15 18:08 proxymoron

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 .

silentboatman avatar Aug 08 '15 09:08 silentboatman