Comments (7)
that debug log does not show the actual error, so it is not possible to help you. You need to paste the terminal output. If you did not see any then you'd need to download the sources and run:
./configure && make
and then paste the output you see.
But, my guess is that you are installing the latest version against an older version of node. The latest version (2.1.x) only works with node v0.6 or greater. If you want node v0.4.x compatible node-sqlite3 then try the 2.0.18 version.
from node-sqlite3.
Thanks for the fast response. I'm using node 0.6.1.
The log from the console :
http://cl.ly/3r103t2V2j1r3c1h2N2H
from node-sqlite3.
@morishani, it looks like you don't have the header files of node 0.6 installed which are required for compiling extensions. How did you install node 0.6?
from node-sqlite3.
Via the macintosh installer found here : http://nodejs.org/#download
from node-sqlite3.
@morishani, for the time being, you have to install node manually from source. I recommend using nvm. The installer doesn't ship with the header files required for compiling extensions.
from node-sqlite3.
@morishani: I was running into the same problem, and the Development Seed guys very kindly helped to locate the problem. I had upgraded from NodeJS v0.4.1 to v0.6.7, but still had some of the old version's files and headers in my path. The fix, in three steps:
- Uninstall NodeJS
- rm -r /usr/local/include/node/* && rm -r /usr/bin/node* [though probably best to confirm these are the correct locations on your machine]
- Reinstall NodeJS.
from node-sqlite3.
With #61 merged, installation now uses node-gyp
which downloads the header files for the current node version before compiling.
from node-sqlite3.
Related Issues (20)
- Not safe for use concurrently from multiple async scopes HOT 4
- @npmcli/move-file is deprecated, use @npmcli/fs instead HOT 2
- finalize is necessary
- Bug creating foreign key
- when i run test my extension get error in init use sqlite
- Running Sequelize on Bun using sqlite3 produces undefined symbol: uv_close error HOT 1
- How to obtain the fragmented size of a sqlite database
- v5.1.7 changes the usage of a binary mirror (incompatibly)
- Too many non-runtime dependencies after installation
- Add character offset to error message
- How install sqlite3 package manually after electron-packager on linux for windows
- electron v30.0.1 install error HOT 1
- Getting "Could not locate the bindings file" when trying to open DB in Angular 17 SSR project (ExpressJs) HOT 1
- Couldn't be built successfully
- IOT instruction node testing.js
- Install on Vercel: warning "[email protected]" has no binaries
- node-sqlite3 package not supported for Cross platform
- sqlite3 installs but fails on require/import in mingw64 HOT 2
- sqlite fts feature
- pnpm i sqlite3 WITH AttributeError: 'NoneType' object has no attribute 'groupdict' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-sqlite3.