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

v2.8.0 can't convert undefined to object #14393

Closed
artnova-david opened this issue Sep 15, 2022 · 7 comments
Closed

v2.8.0 can't convert undefined to object #14393

artnova-david opened this issue Sep 15, 2022 · 7 comments

Comments

@artnova-david
Copy link

What happened?

After installing v2.8.0 following error was thrown: can't convert undefined to object

q-error

What did you expect to happen?

No error

Reproduction URL

/

How to reproduce?

  1. Install Quasar v2.8.0
  2. Bundle
  3. ...check console

Flavour

Vue CLI Plugin (vue-cli-plugin-quasar)

Areas

Components (quasar), Plugins (quasar), SPA Mode

Platforms/Browsers

Firefox, Chrome, Safari

Quasar info output

No response

Relevant log output

No response

Additional context

No response

@github-actions
Copy link

Hi @artnova-david! 👋

It looks like you provided an invalid or unsupported reproduction URL.
Do not use any service other than Codepen, jsFiddle, StackBlitz, Codesandbox, and GitHub.
Make sure the URL you provided is correct and reachable. You can test it by visiting it in a private tab, another device, etc.
Please edit your original post above and provide a valid reproduction URL as explained.

Without a proper reproduction, your issue will have to get closed.

Thank you for your collaboration. 👏

@rstoenescu rstoenescu added Qv2 🔝 Quasar v2 issues and removed Qv1 labels Sep 15, 2022
@rstoenescu
Copy link
Member

rstoenescu commented Sep 15, 2022

Hi,

I just checked and everything works fine. Are you sure that you are using vue-cli-plugin-quasar v5 with @vue/cli v5?
Please provide a reproduction repo with your setup. Thanks in advance.

@artnova-david
Copy link
Author

artnova-david commented Sep 15, 2022

Hi,
Thanks for your reply.
I'm not using vue-cli-plugin-quasar just vue cli v5.0.8 and importing quasar like this

import { Quasar, Notify, Screen, AppFullscreen } from "quasar"

` app.use(Quasar, {

  lang: lang,

  iconSet: iconSet,

  cssAddon: true,

  plugins: [
     Notify,
     Screen,
     AppFullscreen
  ],

  config: {
     loadingBar: {
        skipHijack: true
     }
  }

})`

This worked just fine before updating from v2.7.7 to v2.8.0.
A reproduction repo is not possible, because this is a private and custom project

Thanks.

@rstoenescu
Copy link
Member

@artnova-david It is highly recommended to use vue-cli-plugin-quasar otherwise you won't benefit from important features like tree-shaking.

@rstoenescu
Copy link
Member

Decided to add back quasar.esm.prod.js and released Quasar v2.8.1.

Again, it's highly recommended to use vue-cli-plugin-quasar when on a Vue CLI project and @quasar/vite-plugin when on a Vite project (not referring here to Quasar CLI with Vite).

@artnova-david
Copy link
Author

Hi,
Thanks for the fix, highly appreciated.
Will be adding vue-cli-plugin-quasar to the project soon.

Thanks again.

@rstoenescu
Copy link
Member

Forgot to auto-register all components and directives for that entry-point. Released v2.8.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants