Comments (4)
What branch is this?
from node-sqlite3.
master - ran this test as I was seeing the same failures in a branch. After upgrading expresso the failures are less verbose:
node -v
v0.4.2
dane@haiti:~/src/node-sqlite3$ ./node_modules/expresso/bin/expresso
uncaught undefined: Error: SQLITE_ERROR: no such table: foo
uncaught undefined: AssertionError: == 0
at /home/dane/src/node-sqlite3/test/each.test.js:34:16
at Statement.<anonymous> (/home/dane/src/node-sqlite3/lib/sqlite3.js:11:41)
each.test.js test Statement#each: AssertionError: Only retrieved 0 out of 100000 rows.
at /home/dane/src/node-sqlite3/test/each.test.js:19:16
at Test.<anonymous> (/home/dane/src/node-sqlite3/node_modules/expresso/bin/expresso:961:13)
at Test.emit (events.js:39:17)
at EventEmitter.<anonymous> (/home/dane/src/node-sqlite3/node_modules/expresso/bin/expresso:892:18)
at EventEmitter.<anonymous> (events.js:59:20)
at EventEmitter.emit (/home/dane/src/node-sqlite3/node_modules/expresso/bin/expresso:1053:10)
at report (/home/dane/src/node-sqlite3/node_modules/expresso/bin/expresso:992:13)
at EventEmitter.emit (/home/dane/src/node-sqlite3/node_modules/expresso/bin/expresso:1050:9)
each.test.js test Statement#each with complete callback: AssertionError: true == false
at /home/dane/src/node-sqlite3/test/each.test.js:39:16
at Test.<anonymous> (/home/dane/src/node-sqlite3/node_modules/expresso/bin/expresso:961:13)
at Test.emit (events.js:39:17)
at EventEmitter.<anonymous> (/home/dane/src/node-sqlite3/node_modules/expresso/bin/expresso:892:18)
at EventEmitter.<anonymous> (events.js:59:20)
at EventEmitter.emit (/home/dane/src/node-sqlite3/node_modules/expresso/bin/expresso:1053:10)
at report (/home/dane/src/node-sqlite3/node_modules/expresso/bin/expresso:992:13)
at EventEmitter.emit (/home/dane/src/node-sqlite3/node_modules/expresso/bin/expresso:1050:9)
Failures: 4
Wondering if this was due to an older 0.4.x I upgraded to 0.4.12 and get basically the same failures:
dane@haiti:~/src/node-sqlite3$ ./node_modules/expresso/bin/expresso
uncaught undefined: Error: SQLITE_ERROR: no such table: foo
uncaught undefined: AssertionError: "undefined" == 0
at /home/dane/src/node-sqlite3/test/each.test.js:34:16
at Statement.<anonymous> (/home/dane/src/node-sqlite3/lib/sqlite3.js:11:41)
each.test.js test Statement#each: AssertionError: Only retrieved 0 out of 100000 rows.
at /home/dane/src/node-sqlite3/test/each.test.js:19:16
at Test.<anonymous> (/home/dane/src/node-sqlite3/node_modules/expresso/bin/expresso:961:13)
at Test.emit (events.js:61:17)
at EventEmitter.<anonymous> (/home/dane/src/node-sqlite3/node_modules/expresso/bin/expresso:892:18)
at EventEmitter.<anonymous> (events.js:81:20)
at EventEmitter.emit (/home/dane/src/node-sqlite3/node_modules/expresso/bin/expresso:1053:10)
at report (/home/dane/src/node-sqlite3/node_modules/expresso/bin/expresso:992:13)
at EventEmitter.emit (/home/dane/src/node-sqlite3/node_modules/expresso/bin/expresso:1050:9)
each.test.js test Statement#each with complete callback: AssertionError: true == false
at /home/dane/src/node-sqlite3/test/each.test.js:39:16
at Test.<anonymous> (/home/dane/src/node-sqlite3/node_modules/expresso/bin/expresso:961:13)
at Test.emit (events.js:61:17)
at EventEmitter.<anonymous> (/home/dane/src/node-sqlite3/node_modules/expresso/bin/expresso:892:18)
at EventEmitter.<anonymous> (events.js:81:20)
at EventEmitter.emit (/home/dane/src/node-sqlite3/node_modules/expresso/bin/expresso:1053:10)
at report (/home/dane/src/node-sqlite3/node_modules/expresso/bin/expresso:992:13)
at EventEmitter.emit (/home/dane/src/node-sqlite3/node_modules/expresso/bin/expresso:1050:9)
Failures: 4
from node-sqlite3.
The each failure sounds like it might be related to node v0.6. Do you maybe have 0.6 headers that node-sqlite3 picks up while compiling?
from node-sqlite3.
this was not related to to node v0.6. problem was that these lines slipped past my notice:
Creating test database... This may take several minutes.
Killed
Basically the VM is a linode with 4 cores and 1.7 GB memory, and the big.db creation process was too intensive so the vm killed it. Without the 'big.db' present the tests/each.test.js
emits these failures.
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 3
- 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 HOT 1
- 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.