-
-
Notifications
You must be signed in to change notification settings - Fork 95
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
Missing @storybook/vue3-vite dependency #767
Comments
The dependencies and the init script are outdated as mention in #721.
The above should at least get you to view your stories page, albeit there are still a couple of issues here and there. |
Thanks @adrianpdm! Indeed I get a lot of different errors when trying to configure/upgrade Storybook. Waiting for some fixes before trying again. Thanks fro your help. |
This
Could you please open new issues for them with reproductions? Thanks! |
That's weird given that these dependencies come from a fresh Nuxt & Nuxt Storybook project |
Same error here!
package.json {
"name": "nuxt-app",
"private": true,
"type": "module",
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare"
},
"dependencies": {
"@nuxtjs/storybook": "^8.2.0",
"nuxt": "^3.13.0",
"vue": "latest",
"vue-router": "latest"
}
}
|
Solved for me! Some additional things: Here all packages to be update to copy/paste:
From Docs:
./storybook/main.ts import { StorybookConfig } from '@nuxtjs/storybook' // not from '@storybook/core-common' ./storybook/preview.ts
and import from '@nuxtjs/storybook' as indicates in docs |
Fresh Nuxt 3 project, after running
npx nuxi@latest module add storybook
, following packages are installed:When running
npm run storybook
, I have the following error:The text was updated successfully, but these errors were encountered: