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

npx sb init (vue) doesn't work #15964

Closed
RaulGF92 opened this issue Sep 2, 2021 · 3 comments
Closed

npx sb init (vue) doesn't work #15964

RaulGF92 opened this issue Sep 2, 2021 · 3 comments

Comments

@RaulGF92
Copy link

RaulGF92 commented Sep 2, 2021

With a empty project and a new version of node:

npx sb init

In the project type section select vue, you let install the program and when you run

npm run storybook

This error appear:

ERR! Error: Cannot find module 'vue/dist/vue.esm.js'
image

Actually the storybook package is the next:
image

And my node is in the latest version:
image

PD: I tried in an Ubuntu SO and in an Windows SO with the same bug.

@RaulGF92
Copy link
Author

RaulGF92 commented Sep 2, 2021

Posible fix in this PR #15965

@shilman
Copy link
Member

shilman commented Jan 22, 2022

Fixed in #14624 which was released in https://github.com/storybookjs/storybook/releases/tag/v6.5.0-alpha.7

@alessandro-aglietti
Copy link

Hi @shilman, using

npx sb@6.5.0-alpha.7 init and then npm run storybook using node LTS 16.15.0

I got the same error described by @RaulGF92 :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants