bradleyboy/tuql

this project is no longer maintained?

Opened this issue · 0 comments

I run this on terminal:

$ tuql --db sqlite/dbfile.db --port 8888 

 > Reading schema from /home/eggplants/prog/sqlite/dbfile.db
(node:572077) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'name' of undefined
    at /usr/local/share/.config/yarn/global/node_modules/tuql/dist/builders/schema.js:151:72
    at Array.forEach (<anonymous>)
    at fields (/usr/local/share/.config/yarn/global/node_modules/tuql/dist/builders/schema.js:150:39)
    at resolveThunk (/usr/local/share/.config/yarn/global/node_modules/graphql/type/definition.js:438:40)
    at defineFieldMap (/usr/local/share/.config/yarn/global/node_modules/graphql/type/definition.js:625:18)
    at GraphQLObjectType.getFields (/usr/local/share/.config/yarn/global/node_modules/graphql/type/definition.js:579:27)
    at typeMapReducer (/usr/local/share/.config/yarn/global/node_modules/graphql/type/schema.js:280:78)
    at typeMapReducer (/usr/local/share/.config/yarn/global/node_modules/graphql/type/schema.js:286:20)
    at Array.reduce (<anonymous>)
    at new GraphQLSchema (/usr/local/share/.config/yarn/global/node_modules/graphql/type/schema.js:145:28)
    at /usr/local/share/.config/yarn/global/node_modules/tuql/dist/builders/schema.js:246:13
(node:572077) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:572077) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
$ yarn info tuql|grep version:
  version: '1.7.0',