installing node.js node_sqlite3

Ask questions about Arch Linux ARM. Please search before making a new topic.

installing node.js node_sqlite3

Postby nhck » Sat Nov 23, 2013 12:34 pm

Dear all,

I am trying to install the node module node_sqlite3 on my pi:
$this->bbcode_second_pass_code('', 'npm install --python=/usr/bin/python2 --global --sqlite=/usr/lib https://github.com/mapbox/node-sqlite3/tarball/master')

However it notes this:
$this->bbcode_second_pass_quote('', '[')sqlite3]: Checking for http://node-sqlite3.s3.amazonaws.com/Re ... arm.tar.gz
[sqlite3]: http://node-sqlite3.s3.amazonaws.com/Re ... arm.tar.gz not found, falling back to source compile (Error: Server returned 404)
make: Entering directory '/usr/lib/node_modules/sqlite3/build'
CXX(target) Release/obj.target/node_sqlite3/src/database.o


I am using the
  • --global option because I don't want to install it multiple times, many node scripts use it.
  • --python option because it seems to be getting passed to node-gyp which fails noting that I shouldn't use pyhton >3.0
  • --sqlite option because I read somewhere that it would then use the prebuild sqlite libraries from the distro
  • git-path because allegedly there are some fixes for the pi in the master branch.

After this the pi stops responding pretty much - I guess the compiling is just a bit too much. So my question basically is: What to do here?

Thank you.
nhck
 
Posts: 1
Joined: Fri Nov 22, 2013 11:57 pm

Re: installing node.js node_sqlite3

Postby WarheadsSE » Sat Nov 23, 2013 2:28 pm

let it compile.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm


Return to User Questions

Who is online

Users browsing this forum: No registered users and 17 guests