histoire-dev / histoire

⚡ Fast and beautiful interactive component playgrounds, powered by Vite
https://histoire.dev
MIT License
3.21k stars 192 forks source link

Launch error #411

Open Pysdbi opened 1 year ago

Pysdbi commented 1 year ago

Describe the bug

I connected the library to the nuxt 3 project. At first the library worked out of the box, then I added the /components/Button/index.story file to the component.vue and there was a mistake, I decided to try the plugin for nuxt (@histoire/plugin-nuxt). And then when historie dev crashes an error:

Screenshot

Reproduction

can't

System Info

System:
    OS: macOS 12.2.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 178.50 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 16.14.0 - ~/.nvm/versions/node/v16.14.0/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v16.14.0/bin/yarn
    npm: 8.3.1 - ~/.nvm/versions/node/v16.14.0/bin/npm
  Browsers:
    Chrome: 108.0.5359.124
    Safari: 15.3
  npmPackages:
    @histoire/plugin-nuxt: ^0.11.0 => 0.11.9 
    @histoire/plugin-vue: ^0.11.0 => 0.11.9 
    @vitejs/plugin-vue: ^3.1.2 => 3.1.2 
    histoire: ^0.11.0 => 0.11.9

Used Package Manager

yarn

Validations

Akryum commented 1 year ago

Please give [v0.15.0] a try and report back if your issue is solved or not :pray: