question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

What versions of sqlite3 does tuql support?

See original GitHub issue

Because of a different Issue (https://github.com/bradleyboy/tuql/issues/21) I was forced to install a new version of sqlite3, which is now 4.0.1.

I am getting this error:

alexa@DESKTOP-6C4V66Q C:\Users\alexa\test-tuql
$ yarn tuql kapla.sqlite --graphiql
yarn run v1.7.0
$ C:\Users\alexa\test-tuql\node_modules\.bin\tuql kapla.sqlite --graphiql

 > Reading schema from database.sqlite
(node:16452) UnhandledPromiseRejectionWarning: Error: Query fields must be an object with field names as keys or a function which returns such an object.
    at invariant (C:\Users\alexa\test-tuql\node_modules\graphql\jsutils\invariant.js:18:11)
    at defineFieldMap (C:\Users\alexa\test-tuql\node_modules\graphql\type\definition.js:353:54)
    at GraphQLObjectType.getFields (C:\Users\alexa\test-tuql\node_modules\graphql\type\definition.js:310:44)
    at typeMapReducer (C:\Users\alexa\test-tuql\node_modules\graphql\type\schema.js:208:25)
    at Array.reduce (<anonymous>)
    at new GraphQLSchema (C:\Users\alexa\test-tuql\node_modules\graphql\type\schema.js:97:34)
    at Promise (C:\Users\alexa\test-tuql\node_modules\tuql\dist\builders\schema.js:243:13)

Could it be that sqlite3 is only supported in major version 3? The actual database is in sqlite version 3.22.0.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
barbalexcommented, Jul 23, 2018

yeah, I am not going to take up the slack as I am only a simple consumer checking out if this could work for me 😐

0reactions
bradleyboycommented, Sep 14, 2019

Please let me know if you still have issues with 1.7.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

Release History Of SQLite
Release History. This page provides a high-level summary of changes to SQLite. For more detail, see the Fossil checkin logs at ...
Read more >
SQLite Home Page
What Is SQLite? SQLite is a C-language library that implements a small, fast, self-contained, high-reliability, full-featured, SQL database ...
Read more >
SQLite Download Page
32-bit DLL (x86) for SQLite version 3.40. 1. 64-bit DLL (x64) for SQLite version 3.40.
Read more >
SQLite Version 3 Overview
This document is a quick introduction to the changes for SQLite 3.0 for users who are already familiar with SQLite version 2.8. Naming...
Read more >
SQLite Source Repository
SQLite sources are managed using the Fossil, a distributed version control system that was specifically designed and written to support SQLite development.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found