Can't run app after upgrading Quasar
See original GitHub issueDescribe the bug Upgraded Quasar from 1.9.13 to 1.12.5. Quasar compiles, but once the app runs in the browser it immediately throws this cryptic error:
vue.runtime.esm.js?5593:5106 Uncaught TypeError: Cannot read property 'install' of undefined
at Function.Vue.use (vue.runtime.esm.js?5593:5106)
at eval (import-quasar.js?76de:24)
at Object../.quasar/import-quasar.js (app.js:962)
at __webpack_require__ (app.js:849)
at fn (app.js:151)
at eval (app.js?cb94:18)
at Object../.quasar/app.js (app.js:938)
at __webpack_require__ (app.js:849)
at fn (app.js:151)
at eval (client-entry.js?e881:21)
In import-quasar.js this seems to throw the error:
_vue.default.use(_quasar.Quasar, {
config: {},
lang: _enUs.default,
iconSet: _materialIcons.default
});
And then Vue (vue.runtime.esm.js) throws this error:
function initUse (Vue) {
Vue.use = function (plugin) {
var installedPlugins = (this._installedPlugins || (this._installedPlugins = []));
if (installedPlugins.indexOf(plugin) > -1) {
return this
}
// additional parameters
var args = toArray(arguments, 1);
args.unshift(this);
->> if (typeof plugin.install === 'function') {
plugin.install.apply(plugin, args);
} else if (typeof plugin === 'function') {
plugin.apply(null, args);
}
installedPlugins.push(plugin);
return this
};
}
Node: v10.18.1, but tried different versions - no change Browsers: all browsers
Any hints what could be going on?
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Unable to run quasar dev
Hi all, A co-worker of mine is having trouble running quasar dev in his project, encountering the following error: ERROR Failed to compile ......
Read more >Upgrade Guide - Quasar Framework
This guide assumes that you are currently using a @quasar/app v2 project. You will upgrade it to Quasar CLI with Webpack for Quasar...
Read more >[quasar][capacitor] No external IP detected. Can't run without ...
I am working on a quasar project for a mobile app using capacitor. I used to run the app on my phone with...
Read more >quasar-app-extension-ssg - npm
Installing. Run this command into your Quasar project: quasar ext add ssg@quasar-v1. This will find and install the extension's ...
Read more >Quasar Framework Upgrade - HackMD
First, verify your current info with quasar info : ; Remove local quasar-cli package ; Install @quasar/app as development dependency ; Re-install all...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I cannot for the life of me get this to work:
Glad everything’s working for you now. Also, please make that you remove the workboxOptions > exclude above when you upgrade to q/app v2.