Open taste1989 opened 1 week ago
node test.js FATAL ERROR: v8::Template::Set Invalid value, must be a primitive or a Template ----- Native stack trace -----
1: 0x104d88b18 node::OnFatalError(char const, char const) [/Users/yi/.nvm/versions/node/v20.15.0/bin/node]
2: 0x104f13a2c v8::Template::Set(v8::Localv8::Name, v8::Localv8::Data, v8::PropertyAttribute) [/Users/yi/.nvm/versions/node/v20.15.0/bin/node]
3: 0x104d3a460 napi_define_class [/Users/yi/.nvm/versions/node/v20.15.0/bin/node]
4: 0x11a8c9408 Napi::ObjectWrap
----- JavaScript stack trace -----
1: Module._extensions..node (node:internal/modules/cjs/loader:1454:18) 2: Module.load (node:internal/modules/cjs/loader:1208:32) 3: Module._load (node:internal/modules/cjs/loader:1024:12) 4: Module.require (node:internal/modules/cjs/loader:1233:19) 5: require (node:internal/modules/helpers:179:18) 6: /Users/yi/Documents/Evidence/test-duckdb/node_modules/duckdb/lib/duckdb-binding.js:4:15 7: Module._compile (node:internal/modules/cjs/loader:1358:14) 8: Module._extensions..js (node:internal/modules/cjs/loader:1416:10) 9: Module.load (node:internal/modules/cjs/loader:1208:32) 10: Module._load (node:internal/modules/cjs/loader:1024:12)
zsh: abort node test.js
Could you try again, with the same workflow as https://github.com/evidence-dev/evidence/issues/2146#issuecomment-2187830361, but with two twists:
npm uninstall duckdb
npm install duckdb --verbose
(and copy pasting the log, that for me looks like:
npm verb cli /opt/homebrew/Cellar/node/21.7.3/bin/node /opt/homebrew/bin/npm
npm info using npm@10.5.0
npm info using node@v21.7.3
npm verb title npm install duckdb
npm verb argv "install" "duckdb" "--loglevel" "verbose"
...
....
npm info run duckdb@1.0.0 install node_modules/duckdb node-pre-gyp install --fallback-to-build
npm info run duckdb@1.0.0 install { code: 0, signal: null }
added 111 packages, and audited 112 packages in 2s
6 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
npm verb exit 0
npm info ok
And then going further with the other steps.
Otherwise:
npm uninstall duckdb
npm install duckdb --verbose --build-from-source
(this will take a while)
hi I report this issue https://github.com/evidence-dev/evidence/issues/2146 in evidence. archiewood told me to report here.