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

Update from 0.10 to 0.11 causes error with Quasar = TypeError: Cannot read properties of undefined (reading 'prototype') #323

Closed
6 tasks done
rasc-br opened this issue Oct 10, 2022 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@rasc-br
Copy link

rasc-br commented Oct 10, 2022

Describe the bug

Version 0.10.x works as expected.
Version 0.11.x throws this error during build and serve:

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

Since it happens in all story files, I noticed that is related to the configuration where Quasar is included:

Reproduction

https://stackblitz.com/edit/histoire-vue3-starter-uaknmn?file=histoire.setup.ts

System Info

System:
    OS: Windows 10 10.0.22000
    CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12700H
    Memory: 4.19 GB / 15.68 GB
  Binaries:
    Node: 16.15.1 - C:\Program Files\nodejs\node.EXE
    npm: 8.11.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.22000.120.0), Chromium (106.0.1370.37)
    Internet Explorer: 11.0.22000.120

Used Package Manager

npm

Validations

@rasc-br rasc-br added the to triage This issue needs to be triaged label Oct 10, 2022
@Akryum
Copy link
Member

Akryum commented Oct 10, 2022

Try putting your setup file only in the browser:

setupFile: { browser: '...' }

@rasc-br
Copy link
Author

rasc-br commented Oct 11, 2022

I changed the in the sandbox, looks like the error persists:
https://stackblitz.com/edit/histoire-vue3-starter-uaknmn?file=histoire.config.ts

@vsergiu93
Copy link

@rasc-br Have you by chance solved this? I'm currently having the same exact problem.

@rasc-br
Copy link
Author

rasc-br commented Oct 27, 2022

@vsergiu93 Unfortunately no, I had to downgrade to 0.10 until Histoire team comes with a solution.

@Paracelsus-Rose
Copy link

Do you have a working stackblitz for 0.10 with quasar 2? I generally use quasar-cli but even a pure vite project or anything would be huge. Really want to get this working, spent the entire night on it to no avail :D

@rasc-br
Copy link
Author

rasc-br commented Nov 1, 2022

This is the same thing as before, but on version 0.10.4:
https://stackblitz.com/edit/histoire-vue3-starter-rbqjde?file=package.json

@Paracelsus-Rose
Copy link

Thank you so much. This will surely get me started.

@Akryum Akryum added bug Something isn't working and removed to triage This issue needs to be triaged labels Nov 11, 2022
@Akryum Akryum self-assigned this Nov 11, 2022
@Akryum Akryum closed this as completed Nov 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants