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

Histoire 0.12.4 not working with vite 4.1 #434

Closed
6 tasks done
jbreuil opened this issue Feb 3, 2023 · 4 comments
Closed
6 tasks done

Histoire 0.12.4 not working with vite 4.1 #434

jbreuil opened this issue Feb 3, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@jbreuil
Copy link

jbreuil commented Feb 3, 2023

Describe the bug

TypeError: Cannot read properties of null (reading 'isCE')

When using a simple example of histoire with latest version of histoire and vite, stories are unabled to being listed, it's seems to be related to histoire using a duplicate instance of vue.

Reproduction

stack blitz

Forked from the histoire documentation example with bumped version.

System Info

System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 16.14.2 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 7.17.0 - /usr/local/bin/npm
  npmPackages:
    @histoire/plugin-vue: ^0.12.4 => 0.12.4 
    @vitejs/plugin-vue: ^4.0.0 => 4.0.0 
    histoire: ^0.12.4 => 0.12.4 
    vite: ^4.1.1 => 4.1.1

Used Package Manager

npm

Validations

@jbreuil jbreuil added the to triage This issue needs to be triaged label Feb 3, 2023
@stackblitz
Copy link

stackblitz bot commented Feb 3, 2023

Fix this issue in StackBlitz Codeflow Start a new pull request in StackBlitz Codeflow.

@hmt
Copy link
Contributor

hmt commented Feb 4, 2023

To be precise, it is 4.1 not 4.0.

@yshrsmz
Copy link

yshrsmz commented Feb 5, 2023

Had the same issue today.
vite 4.1 came from Nuxt 3.1.2

@Akryum Akryum changed the title Histoire 0.12.4 not working with vite 4 Histoire 0.12.4 not working with vite 4.1 Feb 5, 2023
@Akryum
Copy link
Member

Akryum commented Feb 5, 2023

Hello, we are aware of this issue and trying to fix it asap

@Akryum Akryum added bug Something isn't working and removed to triage This issue needs to be triaged labels Feb 5, 2023
@Akryum Akryum closed this as completed in 86e08d1 Feb 5, 2023
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