-
-
Notifications
You must be signed in to change notification settings - Fork 816
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
Failed at the sqlite3@3.1.1 install script 'node-pre-gyp install --fallback-to-build' #612
Comments
i hade this error and i solved it by update npm version with the command: make sure you have gcc and g++ sudo apt-get install gcc npm install sqlite3 |
@marshmelo777 Thanks for the help but it didn't fix the issue. |
I can confirm @glavince , I have the same issue. |
Can you post the error? |
Of course , please please , fix it:
|
I fixed the issue with upgrading cpp, gcc and g++ to version 4.9. The previous version was 4.6 sudo add-apt-repository ppa:ubuntu-toolchain-r/test |
The soltion that @glavince didn't work for me , mi gcc version is 5 and I installed 4.9 with same resaults:
|
More info about the problem from npm-debug.log
Maybe a posible workaround is to add |
For me, the flag |
The soltion that @glavince didn't work for me too.
|
|
I can confirm the error is still with version 3.1.2
|
I have problem with sqlite3 when upgrading ghost. |
Having the same problem. Does anyone resolved it? My log: I tried with and without OS Version: Ubuntu 16.04 x64
|
I have the same issue on installing sqlite3 , but i solved it by installing dependencies "sqlite3" : "~3.1.4" . |
I had a similar problem when installing Ghost on Ubuntu 16.04 LTS. I traced the problem down to nodejs not being available in the path
|
@multivac61 Thank you, that solved it for Ubuntu 16.04. :) |
@multivac61 that's help,thx |
It's a Ghost Bug. You need tu upgrade version by version. 0.8, 0.9, 0.1 to avoid the error. |
@multivac61 that worked for me, ubuntu 16.04 |
Note that Debian/Ubuntu provide a
For more information, see http://lists.debian.org/debian-devel-announce/2012/07/msg00002.html |
@multivac61 my hero |
I had the same problem like @glavince Global install works but local not. I installed globally and copied sqlite3 to local node_modules. |
Problem persists on Debian 7 (Raspbian). |
I have this problem building sqlite3 (via Ghost) using Buildroot on a Debian 8 based host. @cquijano's solution worked for me. |
|
for me the issue was that for some reason it was looking for Also, make sure to run npm with |
@multivac61 @cquijano Thanks,you are both work for me ~ |
having the same issue, running the log:
running: Also, this issue has been open for over 2 years... |
Anyone hitting this issue please make sure you are running the latest node-sqlite@4.0.2. If you are still having problems with that version, then create a new issue. |
Install node-pre-gyp package. |
same on CentOS7 sqlite3@4.0.8 |
4.0.9 works on mac |
At first install sqlite3 then npm install)) Its a elegant work for me |
I ran into this issue trying to simply run an Apollo GraphQL tutorial (https://github.com/apollographql/fullstack-tutorial). Following this comment (fsevents/fsevents#278 (comment)), I simply deleted the |
npm i sqlite3 --build-from-source this worked for me after like 4 hours of bull bloody shit |
It didn't help me in Ubuntu, but |
Thanks, this worked for me! I did need to use --force to clear the cache (npm --force cache clean). A little scary, but things seem okay for now. |
I solved it by |
For me, it turned out to be a |
It worked for me. Thanks! |
The actual error for me was
|
npx: installed 12 in 8.029s
node-pre-gyp WARN Using needle for node-pre-gyp https download npm ERR! code ELIFECYCLE npm ERR! A complete log of this run can be found in: |
Try to use "yarn add sqlite3" instead of "npm install sqlite3". |
it work for me, only update npm :) |
I have solved it in CircleCI by installing Apparently, |
I have issue installing the latest version (3.1.1) of node-sqlite3 on Ubuntu
In the log file I can see that it is failing to download tarball:
403 status code downloading tarball https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.1/node-v46-linux-ia32.tar.gz (falling back to source compile with node-gyp)
node-sqlite3 version: 3.1.1
Node version: 4.3.1
NPM version: 2.14.12
OS info: Ubuntu 12.04.5 LTS 32 bit
Attached is the log result of "npm install sqlite3 --loglevel=info". log.txt and npm-debug.log.txt
The text was updated successfully, but these errors were encountered: