-
Notifications
You must be signed in to change notification settings - Fork 44
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
Fresh install fails with several errors #54
Comments
Can you check, if there is an emotion-theming package inside your node_modules? There were several issues reported regarding this package inside the storybook main repo for v5. Check these out |
Have the same issue and can confirm that After installing it, the project compiles successfully, but now I see these errors in the browser console: I'm not very familiar with React setups beyond he basics, but it may be related to the fact that during install of |
i have found the problem, i forgot to update the constraints for the injected dependencies @ https://github.com/storybooks/vue-cli-plugin-storybook/blob/master/generator/index.js#L12 setting them to i will create a PR to fix. @LinusBorg do you know how vue cli handles updates of plugins? are the dependencies injected into the package.json updated too? |
Those are not updated unless you would run the generator again with I guess a prompt could be added that asks if only deps should be updated or something ... |
@LinusBorg I had worked on a hook proposal and also asked about the update delivery solution long back ago regarding vue cli. I would like to raise this once more. The current vue cli plugin system is very simplistic and is not sustainable. It needs more work and my PR's are kept pending without any core member looking at it. |
We are now planning a new major, please comment here. |
Environment:
All of this on the latest ubuntu version.
Steps to reproduce:
vue create myproject
vue add storybook
yarn storybook:serve
oryarn storybook:build
The project created using these steps can be found at https://github.com/salvadordiaz/bug-storybook-vue-cli-plugin. Just checkout and run
yarn install && yarn storybook:serve
Expected:
Storybook runs or gets built.
Outcome:
The following error messages on the console:
The text was updated successfully, but these errors were encountered: