-
Notifications
You must be signed in to change notification settings - Fork 20
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
Unable to make it work #5
Comments
I got it running in a nuxt project which uses yarn and Node 18. To me your issue sounds more related to install the storybook itself than this package. You need to use storybook for vue. I followed back then this guide here https://storybook.js.org/docs/vue/get-started/install. To be honest i had to manually add the storybook command into my package.json like that:
After that i installed the @storybook-vue/nuxt package with
If it's still not working, there is also a working Demo Repo you can clone and try out on your machine. Maybe it helps to spot out differences to your setup and figure out more informations why it's not running. |
So this is the correct command to run Btw |
you are. total right. I really recommend pnpm as yarn is hell. the storybook init command for nuxt. is ready but not yet. merged to main so you solution is quite good for now all what you have to do after is change your |
GENERAL RECOMMENDATION: if you start any new project that does not have any Yarn legacy, please use PNPM. it will change your life and avoid you Yarn depression |
So, I'm stuck in the boat where I'm still using Yarn, because Yarn has the ability to install multiple versions of a package for different architectures - this means it can install both a copy for my local Mac arch and the docker image arch at once, which is really convenient - one What is the general issue that's preventing yarn from working here? Like, this is the first-ever package I've come across that doesn't work because you're using a different major, well-supported package manager, so I'm just really confused about what could be the problem. |
@DanHulton please start by opening more specific issue regarding yarn, cause this is closed and clearly too vague |
@chakAs3 Ah, sorry, my bad on two counts:
|
Hi! I'm having troubles testing this project. The minimal reproduction is to init a new Nuxt project with the command
npx nuxi@latest init PROJECT_NAME
and then inside the root of the project I tried the command suggested in the READMEnpx storybook@latest init
But it's not working, it runs, it asks me for the builder used in the project (I selected vite) and then it tell me "Storybook was successfully installed in your project! 🎉" but that's not true! My package.json is untouched and ofc the command
yarn storybook
fails.I tried with node v16 and v18. Currently Im using
yarn
The text was updated successfully, but these errors were encountered: