quasarframework / quasar-testing

Testing Harness App Extensions for the Quasar Framework 2.0+
https://testing.quasar.dev
MIT License
180 stars 65 forks source link

mount() results in "TypeError: Cannot read properties of undefined (reading 'ripple')" and shallowMount() can't find anything inside q-page #222

Closed khteh closed 2 years ago

khteh commented 2 years ago

I have a Quasar 2 Vue 3 page which includes other custom components. This is my template:

<template>
  <q-page data-test="indexPage"
    class="q-mb-lg"
    :style="mobile ? '' : 'padding-left:8%;padding-right:8%'"
  >
    <div ref="qStore" class="row" data-test="qStore">
<snip>

Using 3.0.0-alpha.10 mount runs into the following crash dump:

 FAIL  test/jest/__tests__/pages/Index.test.js
  ● Console

    console.warn
      [Vue warn]: Unhandled error during execution of directive hook 
        at <QTab no-caps="" key=0 name=0  ... > 
        at <QTabs dense="" align="justify" inline-label=""  ... > 
        at <QPage data-test="indexPage" class="q-mb-lg" style="" > 
        at <StorePage token="Hello World!!!" ref="VTU_COMPONENT" > 
        at <VTUROOT>

      at warn (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:40:17)
      at logError (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:214:9)
      at handleError (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:206:5)
      at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:160:9)
      at callWithAsyncErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:166:21)
      at invokeDirectiveHook (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3726:13)
      at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4570:13)
      at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4510:13)

  ● IndexPage tests › Mobile index page test

    TypeError: Cannot read properties of undefined (reading 'ripple')

      55 |         }];
      56 |     const factory = async (computed = { }) => {
    > 57 |         return await mount(IndexPage, {
         |                      ^
      58 |             global: { 
      59 |                 plugins: [Store], 
      60 |                 provide: qLayoutInjections() ,

      at updateModifiers$1 (node_modules/quasar/dist/quasar.esm.prod.js:6:40236)
      at beforeMount (node_modules/quasar/dist/quasar.esm.prod.js:6:40834)
      at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:157:22)
      at callWithAsyncErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:166:21)
      at invokeDirectiveHook (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3726:13)
      at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4570:13)
      at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4510:13)
      at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4430:21)
      at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4970:21)
      at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:171:25)
      at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5089:9)
      at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4872:9)
      at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4830:17)
      at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4433:21)
      at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4618:13)
      at processFragment (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4789:13)
      at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4426:17)
      at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4618:13)
      at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4528:17)
      at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4510:13)
      at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4430:21)
      at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4618:13)
      at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4528:17)
      at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4510:13)
      at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4430:21)
      at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4970:21)
      at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:171:25)
      at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5089:9)
      at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4872:9)
      at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4830:17)
      at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4433:21)
      at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4618:13)
      at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4528:17)
      at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4510:13)
      at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4430:21)
      at mountChildren (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4618:13)
      at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4528:17)
      at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4510:13)
      at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4430:21)
      at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4970:21)
      at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:171:25)
      at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5089:9)
      at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4872:9)
      at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4830:17)
      at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4433:21)
      at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4970:21)
      at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:171:25)
      at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5089:9)
      at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4872:9)
      at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4830:17)
      at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4433:21)
      at ReactiveEffect.componentUpdateFn [as fn] (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4970:21)
      at ReactiveEffect.run (node_modules/@vue/reactivity/dist/reactivity.cjs.js:171:25)
      at setupRenderEffect (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5089:9)
      at mountComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4872:9)
      at processComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4830:17)
      at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4433:21)
      at render (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5574:13)
      at mount (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3856:25)
      at Object.app.mount (node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:1539:23)
      at mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:7919:18)
      at factory (test/jest/__tests__/pages/Index.test.js:57:22)
      at Object.<anonymous> (test/jest/__tests__/pages/Index.test.js:87:31)

  ●  Cannot log after tests are done. Did you forget to wait for something async in your test?
    Attempted to log "[Vue warn]: Unhandled error during execution of directive hook 
      at <QTab no-caps="" key=0 name=0  ... > 
      at <QTabs dense="" align="justify" inline-label=""  ... > 
      at <QPage data-test="indexPage" class="q-mb-lg" style="" > 
      at <StorePage token="Hello World!!!" ref="VTU_COMPONENT" > 
      at <VTUROOT>".

      at console.warn (node_modules/@jest/console/build/BufferedConsole.js:242:10)
      at warn (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:40:17)
      at logError (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:214:9)
      at handleError (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:206:5)
      at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:160:9)
      at callWithAsyncErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:166:21)
      at invokeDirectiveHook (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3726:13)
      at mountElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4570:13)
      at processElement (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4510:13)
      at patch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4430:21)

  ●  Cannot log after tests are done. Did you forget to wait for something async in your test?
    Attempted to log "[Vue warn]: Unhandled error during execution of scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core 
      at <QTab no-caps="" key=0 name=0  ... > 
      at <QTabs dense="" align="justify" inline-label=""  ... > 
      at <QPage data-test="indexPage" class="q-mb-lg" style="" > 
      at <StorePage token="Hello World!!!" ref="VTU_COMPONENT" > 
      at <VTUROOT>".

      at console.warn (node_modules/@jest/console/build/BufferedConsole.js:242:10)
      at warn (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:40:17)
      at logError (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:214:9)
      at handleError (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:206:5)
      at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:160:9)
      at flushJobs (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:389:17)

/usr/src/qashier/qashier-dynamic-qr/node_modules/quasar/dist/quasar.esm.prod.js:1960
  const l = Object.assign({}, a.$q.config.ripple, t, o);
                                          ^

TypeError: Cannot read properties of undefined (reading 'ripple')
    at updateModifiers$1 (/usr/src/qashier/qashier-dynamic-qr/node_modules/quasar/dist/quasar.esm.prod.js:6:40236)
    at beforeMount (/usr/src/qashier/qashier-dynamic-qr/node_modules/quasar/dist/quasar.esm.prod.js:6:40834)
    at callWithErrorHandling (/usr/src/qashier/qashier-dynamic-qr/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:157:22)
    at callWithAsyncErrorHandling (/usr/src/qashier/qashier-dynamic-qr/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:166:21)
    at invokeDirectiveHook (/usr/src/qashier/qashier-dynamic-qr/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3726:13)
    at mountElement (/usr/src/qashier/qashier-dynamic-qr/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4570:13)
    at processElement (/usr/src/qashier/qashier-dynamic-qr/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4510:13)
    at patch (/usr/src/qashier/qashier-dynamic-qr/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4430:21)
    at ReactiveEffect.componentUpdateFn [as fn] (/usr/src/qashier/qashier-dynamic-qr/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4970:21)
    at ReactiveEffect.run (/usr/src/qashier/qashier-dynamic-qr/node_modules/@vue/reactivity/dist/reactivity.cjs.js:171:25)
    at setupRenderEffect (/usr/src/qashier/qashier-dynamic-qr/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5089:9)
    at mountComponent (/usr/src/qashier/qashier-dynamic-qr/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4872:9)
    at processComponent (/usr/src/qashier/qashier-dynamic-qr/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4830:17)
    at patch (/usr/src/qashier/qashier-dynamic-qr/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4433:21)
    at mountChildren (/usr/src/qashier/qashier-dynamic-qr/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4618:13)
    at processFragment (/usr/src/qashier/qashier-dynamic-qr/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4789:13)
    at patch (/usr/src/qashier/qashier-dynamic-qr/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4426:17)
    at mountChildren (/usr/src/qashier/qashier-dynamic-qr/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4618:13)
    at mountElement (/usr/src/qashier/qashier-dynamic-qr/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4528:17)
    at processElement (/usr/src/qashier/qashier-dynamic-qr/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4510:13)
    at patch (/usr/src/qashier/qashier-dynamic-qr/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4430:21)
    at mountChildren (/usr/src/qashier/qashier-dynamic-qr/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4618:13)
    at mountElement (/usr/src/qashier/qashier-dynamic-qr/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4528:17)
    at processElement (/usr/src/qashier/qashier-dynamic-qr/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4510:13)
    at patch (/usr/src/qashier/qashier-dynamic-qr/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4430:21)
    at ReactiveEffect.componentUpdateFn [as fn] (/usr/src/qashier/qashier-dynamic-qr/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4970:21)
    at ReactiveEffect.run (/usr/src/qashier/qashier-dynamic-qr/node_modules/@vue/reactivity/dist/reactivity.cjs.js:171:25)
    at setupRenderEffect (/usr/src/qashier/qashier-dynamic-qr/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5089:9)
    at mountComponent (/usr/src/qashier/qashier-dynamic-qr/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4872:9)
    at processComponent (/usr/src/qashier/qashier-dynamic-qr/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4830:17)
    at patch (/usr/src/qashier/qashier-dynamic-qr/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4433:21)
    at mountChildren (/usr/src/qashier/qashier-dynamic-qr/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4618:13)
    at mountElement (/usr/src/qashier/qashier-dynamic-qr/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4528:17)
    at processElement (/usr/src/qashier/qashier-dynamic-qr/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4510:13)
    at patch (/usr/src/qashier/qashier-dynamic-qr/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4430:21)
    at mountChildren (/usr/src/qashier/qashier-dynamic-qr/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4618:13)
    at mountElement (/usr/src/qashier/qashier-dynamic-qr/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4528:17)
    at processElement (/usr/src/qashier/qashier-dynamic-qr/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4510:13)
    at patch (/usr/src/qashier/qashier-dynamic-qr/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4430:21)
    at ReactiveEffect.componentUpdateFn [as fn] (/usr/src/qashier/qashier-dynamic-qr/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4970:21)
    at ReactiveEffect.run (/usr/src/qashier/qashier-dynamic-qr/node_modules/@vue/reactivity/dist/reactivity.cjs.js:171:25)
    at callWithErrorHandling (/usr/src/qashier/qashier-dynamic-qr/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:157:36)
    at flushJobs (/usr/src/qashier/qashier-dynamic-qr/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:389:17)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

Node.js v17.9.0

Uing shallowMount does not have this crash dump but I am not able to .find() anything inside q-page. For example, the chai.expect fails for the template shown above:

        const qStore = qPage.find("[data-test='qStore']");
        expect(qStore.exists()).toBeTruthy();

Any advice and insight is appreciated.

Software version

OS: 21.10 Node: v17.8.0 NPM: 8.5.5 Any other software related to your bug:

$ q info

Operating System - Linux(5.13.0-39-generic) - linux/x64
NodeJs - 17.9.0

Global packages
  NPM - 8.5.5
  yarn - 1.22.18
  @quasar/cli - 1.3.2
  @quasar/icongenie - 2.4.2
  cordova - Not installed

Important local packages
  quasar - 2.6.6 -- Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time
  @quasar/app-webpack - 3.5.1 -- Quasar Framework App CLI with Webpack
  @quasar/extras - 1.13.5 -- Quasar Framework fonts, icons and animations
  eslint-plugin-quasar - Not installed
  vue - 3.2.33 -- The progressive JavaScript framework for building modern web UI.
  vue-router - 4.0.14
  pinia - Not installed
  vuex - Not installed
  electron - Not installed
  electron-packager - Not installed
  electron-builder - Not installed
  @babel/core - 7.17.9 -- Babel compiler core.
  webpack - 5.72.0 -- Packs CommonJs/AMD modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand. Support loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.
  webpack-dev-server - 4.8.1 -- Serves a webpack app. Updates the browser on changes.
  workbox-webpack-plugin - Not installed
  register-service-worker - 1.7.2 -- Script for registering service worker, with hooks
  typescript - 4.5.5 -- TypeScript is a language for application scale JavaScript development
  @capacitor/core - Not installed
  @capacitor/cli - Not installed
  @capacitor/android - Not installed
  @capacitor/ios - Not installed

Quasar App Extensions
  @quasar/quasar-app-extension-dotenv - 1.1.0 -- Load .env variables into your quasar project
  @quasar/quasar-app-extension-testing - 2.0.3 -- A Quasar App Extension for managing Test Harnesses
  @quasar/quasar-app-extension-testing-unit-jest - 3.0.0-alpha.10 -- A Quasar App Extension for running Jest tests
  @quasar/quasar-app-extension-testing-e2e-cypress - 4.1.0 -- A Quasar App Extension for Cypress e2e

Networking
  Host - khteh-p17-2i

What did you get as the error?

What were you expecting?

What steps did you take, to get the error?

IlCallo commented 2 years ago

Hey there, can you provide a repro? It's been 2-3 issues you opened lately, all with partial copy/pasted code, but it's very time consuming to understand the problem and help you without a fully reproducible example I can launch and study by myself.

khteh commented 2 years ago

Hi, it is a private repository of a company I work for. I will see if I could provide a reproducible repo.

squareloop1 commented 2 years ago

I'm having similar issues since updating vue from 3.2.31 to 3.2.32 or 3.2.33. @khteh could you check what version your vue is on to see if this might be related somehow? @IlCallo we talked about this briefly in discord already. I'm getting the following error with the default jest test example when upating vue to 3.2.32 or 3.2.33:

FAIL  test/jest/__tests__/MyButton.spec.ts
  ● MyButton › correctly updates counter when button is pressed

    TypeError: Cannot set properties of undefined (setting 'hasOwnProperty')

      33 |
      34 |   it('correctly updates counter when button is pressed', async () => {
    > 35 |     const wrapper = shallowMount(MyButton);
         |                                 ^
      36 |     const { vm } = wrapper;
      37 |     const button = wrapper.findComponent(QBtn);
      38 |     await button.trigger('click');

      at mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:7925:27)
      at shallowMount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:7934:12)
      at test/jest/__tests__/MyButton.spec.ts:35:33
      at test/jest/__tests__/MyButton.spec.ts:8:71
      at Object.<anonymous>.__awaiter (test/jest/__tests__/MyButton.spec.ts:4:12)
      at Object.<anonymous> (test/jest/__tests__/MyButton.spec.ts:34:69)

Edit: Found a related issue in the quasar core repo https://github.com/quasarframework/quasar/issues/13154

IlCallo commented 2 years ago

@squareloop1 that may be it, closing this as it's probably related to the Vue core problem

sbharteey commented 1 year ago

i am also facing the same problem i am also getting the same error

sbharteey commented 1 year ago

Unhandled Runtime Error TypeError: Cannot read properties of undefined (reading 'mount') Uncaught TypeError: Cannot read properties of undefined (reading 'mount') at eval (QueryClientProvider.js:37:1) at commitHookEffectListMount (react-dom.development.js:23150:1) at commitPassiveMountOnFiber (react-dom.development.js:24926:1) at commitPassiveMountEffects_complete (react-dom.development.js:24891:1) at commitPassiveMountEffects_begin (react-dom.development.js:24878:1) at commitPassiveMountEffects (react-dom.development.js:24866:1) at flushPassiveEffectsImpl (react-dom.development.js:27039:1) at flushPassiveEffects (react-dom.development.js:26984:1) at eval (react-dom.development.js:26769:1) at workLoop (scheduler.development.js:266:1) at flushWork (scheduler.development.js:239:1) at MessagePort.performWorkUntilDeadline (scheduler.development.js:533:1) client.js:1 The above error occurred in the component:

at QueryClientProvider (webpack-internal:///./node_modules/react-query/es/react/QueryClientProvider.js:39:21)
at MyApp (webpack-internal:///./src/pages/_app.js:13:11)
at PathnameContextProviderAdapter (webpack-internal:///./node_modules/next/dist/shared/lib/router/adapters.js:80:11)
at ErrorBoundary (webpack-internal:///./node_modules/next/dist/compiled/@next/react-dev-overlay/dist/client.js:306:63)
at ReactDevOverlay (webpack-internal:///./node_modules/next/dist/compiled/@next/react-dev-overlay/dist/client.js:858:919)
at Container (webpack-internal:///./node_modules/next/dist/client/index.js:78:1)
at AppContainer (webpack-internal:///./node_modules/next/dist/client/index.js:182:11)
at Root (webpack-internal:///./node_modules/next/dist/client/index.js:372:11)

React will try to recreate this component tree from scratch using the error boundary you provided, ErrorBoundary. console.error @ client.js:1

IlCallo commented 1 year ago

Are you sure you're in the correct repo? This is a Quasar-related (Vue-based) library, your errors suggest you're using React

The error isn't even the same one