You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 13, 2019. It is now read-only.
TypeError: _this.driver.createConnection is not a function
at eval (webpack:///./node_modules/knex/lib/dialects/mysql/index.js?:91:37)
at Client_MySQL.acquireRawConnection (webpack:///./node_modules/knex/lib/dialects/mysql/index.js?:90:12)
at create (webpack:///./node_modules/knex/lib/client.js?:280:23)
at tryPromise (webpack:///./node_modules/tarn/lib/Pool.js?:366:22)
at tryPromise (webpack:///./node_modules/tarn/lib/utils.js?:57:20)
at Promise (webpack:///./node_modules/tarn/lib/Pool.js?:366:5)
at new Promise ()
at callbackOrPromise (webpack:///./node_modules/tarn/lib/Pool.js?:357:10)
at Pool._create (webpack:///./node_modules/tarn/lib/Pool.js?:307:5)
at Pool._doCreate (webpack:///./node_modules/tarn/lib/Pool.js?:275:32)
at Pool._tryAcquireOrCreate (webpack:///./node_modules/tarn/lib/Pool.js?:212:12)
at Pool.acquire (webpack:///./node_modules/tarn/lib/Pool.js?:119:10)
at eval (webpack:///./node_modules/knex/lib/client.js?:335:26)
From previous event:
at Client_MySQL.acquireConnection (webpack:///./node_modules/knex/lib/client.js?:334:34)
at Runner.ensureConnection (webpack:///./node_modules/knex/lib/runner.js?:228:24)
at Runner.run (webpack:///./node_modules/knex/lib/runner.js?:34:42)
at Builder.Target.then (webpack:///./node_modules/knex/lib/interface.js?:20:43)
at VueComponent.onResize (webpack:///./node_modules/quasar-framework/src/components/observables/QResizeObservable.js?:29:34)
at VueComponent.trigger (webpack:///./node_modules/quasar-framework/src/components/observables/QResizeObservable.js?:48:14)
at VueComponent.mounted (webpack:///./node_modules/quasar-framework/src/components/observables/QResizeObservable.js?:101:10)
at callHook (webpack:///./node_modules/vue/dist/vue.runtime.esm.js?:2916:21)
at Object.insert (webpack:///./node_modules/vue/dist/vue.runtime.esm.js?:4149:7)
at invokeInsertHook (webpack:///./node_modules/vue/dist/vue.runtime.esm.js?:5944:28)
at Vue.patch [as patch] (webpack:///./node_modules/vue/dist/vue.runtime.esm.js?:6163:5)
at Vue._update (webpack:///./node_modules/vue/dist/vue.runtime.esm.js?:2655:19)
at Vue.updateComponent (webpack:///./node_modules/vue/dist/vue.runtime.esm.js?:2777:10)
at Watcher.get (webpack:///./node_modules/vue/dist/vue.runtime.esm.js?:3137:25)
at new Watcher (webpack:///./node_modules/vue/dist/vue.runtime.esm.js?:3126:12)
at mountComponent (webpack:///./node_modules/vue/dist/vue.runtime.esm.js?:2790:3)
at Vue.$mount (webpack:///./node_modules/vue/dist/vue.runtime.esm.js?:7983:10)
at Vue._init (webpack:///./node_modules/vue/dist/vue.runtime.esm.js?:4624:10)
at new Vue (webpack:///./node_modules/vue/dist/vue.runtime.esm.js?:4713:8)
at eval (webpack:///./.quasar/client-entry.js?:48:1)
What were you expecting?
no error message and knex connecting to my db
What steps did you take, to get the error?
I updated quasar-cli from 0.17.18 to 0.17.19
@nothingismagick suggested it's the dependency with Babel on both sides.
The text was updated successfully, but these errors were encountered:
Software version
OS: Arch
Node: 10.9.0
NPM: 6.4.1
Any other software related to your bug:
knex: https://github.com/tgriesser/knex/blob/master/package.json
What did you get as the error?
TypeError: _this.driver.createConnection is not a function
at eval (webpack:///./node_modules/knex/lib/dialects/mysql/index.js?:91:37)
at Client_MySQL.acquireRawConnection (webpack:///./node_modules/knex/lib/dialects/mysql/index.js?:90:12)
at create (webpack:///./node_modules/knex/lib/client.js?:280:23)
at tryPromise (webpack:///./node_modules/tarn/lib/Pool.js?:366:22)
at tryPromise (webpack:///./node_modules/tarn/lib/utils.js?:57:20)
at Promise (webpack:///./node_modules/tarn/lib/Pool.js?:366:5)
at new Promise ()
at callbackOrPromise (webpack:///./node_modules/tarn/lib/Pool.js?:357:10)
at Pool._create (webpack:///./node_modules/tarn/lib/Pool.js?:307:5)
at Pool._doCreate (webpack:///./node_modules/tarn/lib/Pool.js?:275:32)
at Pool._tryAcquireOrCreate (webpack:///./node_modules/tarn/lib/Pool.js?:212:12)
at Pool.acquire (webpack:///./node_modules/tarn/lib/Pool.js?:119:10)
at eval (webpack:///./node_modules/knex/lib/client.js?:335:26)
From previous event:
at Client_MySQL.acquireConnection (webpack:///./node_modules/knex/lib/client.js?:334:34)
at Runner.ensureConnection (webpack:///./node_modules/knex/lib/runner.js?:228:24)
at Runner.run (webpack:///./node_modules/knex/lib/runner.js?:34:42)
at Builder.Target.then (webpack:///./node_modules/knex/lib/interface.js?:20:43)
at VueComponent.onResize (webpack:///./node_modules/quasar-framework/src/components/observables/QResizeObservable.js?:29:34)
at VueComponent.trigger (webpack:///./node_modules/quasar-framework/src/components/observables/QResizeObservable.js?:48:14)
at VueComponent.mounted (webpack:///./node_modules/quasar-framework/src/components/observables/QResizeObservable.js?:101:10)
at callHook (webpack:///./node_modules/vue/dist/vue.runtime.esm.js?:2916:21)
at Object.insert (webpack:///./node_modules/vue/dist/vue.runtime.esm.js?:4149:7)
at invokeInsertHook (webpack:///./node_modules/vue/dist/vue.runtime.esm.js?:5944:28)
at Vue.patch [as patch] (webpack:///./node_modules/vue/dist/vue.runtime.esm.js?:6163:5)
at Vue._update (webpack:///./node_modules/vue/dist/vue.runtime.esm.js?:2655:19)
at Vue.updateComponent (webpack:///./node_modules/vue/dist/vue.runtime.esm.js?:2777:10)
at Watcher.get (webpack:///./node_modules/vue/dist/vue.runtime.esm.js?:3137:25)
at new Watcher (webpack:///./node_modules/vue/dist/vue.runtime.esm.js?:3126:12)
at mountComponent (webpack:///./node_modules/vue/dist/vue.runtime.esm.js?:2790:3)
at Vue.$mount (webpack:///./node_modules/vue/dist/vue.runtime.esm.js?:7983:10)
at Vue._init (webpack:///./node_modules/vue/dist/vue.runtime.esm.js?:4624:10)
at new Vue (webpack:///./node_modules/vue/dist/vue.runtime.esm.js?:4713:8)
at eval (webpack:///./.quasar/client-entry.js?:48:1)
What were you expecting?
no error message and knex connecting to my db
What steps did you take, to get the error?
I updated quasar-cli from 0.17.18 to 0.17.19
@nothingismagick suggested it's the dependency with Babel on both sides.
The text was updated successfully, but these errors were encountered: