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

Ghost installation fails at sqlite3 #402

Closed
mtrifilo opened this issue Feb 10, 2015 · 3 comments
Closed

Ghost installation fails at sqlite3 #402

mtrifilo opened this issue Feb 10, 2015 · 3 comments

Comments

@mtrifilo
Copy link

I was trying to install Ghost in Vagrant running Ubuntu 14.04 when this happened:

npm ERR! Linux 3.13.0-45-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--production"
npm ERR! node v0.12.0
npm ERR! npm v2.5.1
npm ERR! code ELIFECYCLE

npm ERR! sqlite3@3.0.4 install: node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sqlite3@3.0.4 install script 'node-pre-gyp install --fallback-to-build'.
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-pre-gyp install --fallback-to-build
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! Please include the following file with any support request:
npm ERR! /vagrant/ghost/npm-debug.log

Here's the npm debug log:

https://gist.github.com/itxchy/23ae40d7ea0255fcc4a1

I'm very new to development. If I'm missing something simple-stupid, let me know.

@mtrifilo
Copy link
Author

After many hours of fruitless poking and prodding, I got everything to install just fine. In my case, it was Node v0.12.0. I used a handy npm package called n (http://davidwalsh.name/upgrade-nodejs) to downgrade Node to v0.10.35 and everything installed without a hitch. The new version of Node was just released, so that must of been culprit. Lesson learned.

Hope this helps anyone with similar issues!

@springmeyer
Copy link
Contributor

Yes, node 0.12.0 was just released and was not supported when you tried. However I've just tagged a new node-sqlite3 release "3.0.5" that will work once published (in a few minutes).

@mtrifilo
Copy link
Author

Great! Thanks for clearing that up.

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

2 participants