Skip to content
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

sqlite 5.1.6 ? #40

Open
johanatan opened this issue Sep 16, 2023 · 0 comments
Open

sqlite 5.1.6 ? #40

johanatan opened this issue Sep 16, 2023 · 0 comments

Comments

@johanatan
Copy link

any chance you could update this to work with this version of sqlite? My project is already reliant on that version and I'm not seeing anyway to ignore the dependency with npm (like one would do in JVM world) since it is a regular dependency and not a dev dependency. I'm also getting a bunch of node-gyp errors when just trying to let npm install -g tuql do its thing:

% npm install -g tuql     
npm WARN deprecated [email protected]: Please update to v6 or higher! A migration guide can be found here: https://sequelize.org/v6/manual/upgrade-to-v6.html
npm WARN deprecated [email protected]: This package is no longer maintained. We recommend using `graphql-http` instead. Please consult the migration document https://github.com/graphql/graphql-http#migrating-express-grpahql.
npm WARN deprecated [email protected]: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
/Users/jonathan/.nvm/versions/node/v20.6.0/bin/tuql -> /Users/jonathan/.nvm/versions/node/v20.6.0/lib/node_modules/tuql/dist/bin/index.js

> [email protected] install /Users/jonathan/.nvm/versions/node/v20.6.0/lib/node_modules/tuql/node_modules/sqlite3
> node-pre-gyp install --fallback-to-build

node-pre-gyp WARN Using needle for node-pre-gyp https download 
node-pre-gyp WARN Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.2.0/node-v115-darwin-x64.tar.gz 
node-pre-gyp WARN Pre-built binaries not found for [email protected] and [email protected] (node-v115 ABI, unknown) (falling back to source compile with node-gyp) 
gyp ERR! UNCAUGHT EXCEPTION 
gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
gyp ERR! stack     at createConfigFile (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:118:21)
gyp ERR! stack     at /usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:85:9
gyp ERR! stack     at /usr/local/lib/node_modules/npm/node_modules/mkdirp/index.js:30:20
gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:189:23)
gyp ERR! System Darwin 20.6.0
gyp ERR! command "/Users/jonathan/.nvm/versions/node/v20.6.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/Users/jonathan/.nvm/versions/node/v20.6.0/lib/node_modules/tuql/node_modules/sqlite3/lib/binding/node-v115-darwin-x64/node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=/Users/jonathan/.nvm/versions/node/v20.6.0/lib/node_modules/tuql/node_modules/sqlite3/lib/binding/node-v115-darwin-x64" "--napi_version=9" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v115"
gyp ERR! cwd /Users/jonathan/.nvm/versions/node/v20.6.0/lib/node_modules/tuql/node_modules/sqlite3
gyp ERR! node -v v20.6.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! This is a bug in `node-gyp`.
gyp ERR! Try to update node-gyp and file an Issue if it does not help:
gyp ERR!     <https://github.com/nodejs/node-gyp/issues>
node-pre-gyp ERR! build error 
node-pre-gyp ERR! stack Error: Failed to execute '/Users/jonathan/.nvm/versions/node/v20.6.0/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/Users/jonathan/.nvm/versions/node/v20.6.0/lib/node_modules/tuql/node_modules/sqlite3/lib/binding/node-v115-darwin-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/Users/jonathan/.nvm/versions/node/v20.6.0/lib/node_modules/tuql/node_modules/sqlite3/lib/binding/node-v115-darwin-x64 --napi_version=9 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v115' (7)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/Users/jonathan/.nvm/versions/node/v20.6.0/lib/node_modules/tuql/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at ChildProcess.emit (node:events:514:28)
node-pre-gyp ERR! stack     at maybeClose (node:internal/child_process:1105:16)
node-pre-gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:305:5)
node-pre-gyp ERR! System Darwin 20.6.0
node-pre-gyp ERR! command "/Users/jonathan/.nvm/versions/node/v20.6.0/bin/node" "/Users/jonathan/.nvm/versions/node/v20.6.0/lib/node_modules/tuql/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/jonathan/.nvm/versions/node/v20.6.0/lib/node_modules/tuql/node_modules/sqlite3
node-pre-gyp ERR! node -v v20.6.0
node-pre-gyp ERR! node-pre-gyp -v v0.11.0
node-pre-gyp ERR! not ok 
Failed to execute '/Users/jonathan/.nvm/versions/node/v20.6.0/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/Users/jonathan/.nvm/versions/node/v20.6.0/lib/node_modules/tuql/node_modules/sqlite3/lib/binding/node-v115-darwin-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/Users/jonathan/.nvm/versions/node/v20.6.0/lib/node_modules/tuql/node_modules/sqlite3/lib/binding/node-v115-darwin-x64 --napi_version=9 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v115' (7)
npm WARN [email protected] requires a peer of graphql-relay@^0.4.2 || ^0.5.0 || ^0.7.0 || ^0.8.0 || ^0.9.0 || ^0.10.0 but none is installed. You must install peer dependencies yourself.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/jonathan/.npm/_logs/2023-09-16T02_04_19_364Z-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant