Comments (10)
There's code for checking at https://github.com/developmentseed/node-sqlite3/blob/master/wscript#L16-17. Seems it doesn't work correctly.
from node-sqlite3.
I'll take a look at fixing this up as I did with node-blend recently.
from node-sqlite3.
got exactly same issue, any status update?
from node-sqlite3.
@angelochen960 - 2793ca0 I added the option --internal-sqlite
so for now you could checkout from master and do:
./configure --internal-sqlite
make
from node-sqlite3.
this got installed, also the usual ./configure, problem is only npm install sqlite3.
trying to do a test after this, but got:
Error: Cannot find module 'sqlite3'
i use this:var sqlite3 = require('sqlite3').verbose();
from node-sqlite3.
to run the tests locally you need to either do:
make test
or manually put the lib/ directory on your node path like:
export NODE_PATH=`pwd`/lib
from node-sqlite3.
i run a local test:
make test
node-waf build
Waf: Entering directory /root/node-sqlite3/build' make[1]: Entering directory
/root/node-sqlite3/deps/sqlite-autoconf-3070701'
make[1]: Nothing to be done for all'. make[1]: Leaving directory
/root/node-sqlite3/deps/sqlite-autoconf-3070701'
Waf: Leaving directory `/root/node-sqlite3/build'
'build' finished successfully (0.016s)
Creating test database... This may take several minutes.
/bin/sh: line 3: 31907 Killed node test/support/createdb.js
make: *** [db] Error 137
from node-sqlite3.
the "killed" must be happening because you are on some host that limits cpu or ram. Perhaps, just don't run the tests then, and get on with coding :)
from node-sqlite3.
you are right! it works. now, how to move node-sqlite3 into the global node-modules? or have to use NODE_PATH all the time?
from node-sqlite3.
this should be improved and resolved again with a7de57a - now internal is truly default and external uses new configure checking code. closing.
from node-sqlite3.
Related Issues (20)
- SQLite 3 installation error message post-deployment
- Bundled build error on Windows HOT 4
- Being able to connect to a database that is located in a Buffer variable HOT 1
- 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
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.