-
-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
[src/generators/WEB-COMPONENTS] Missing dependency in generated application #9845
Comments
@daKmoR do we need to add a peer dependency for this? |
it already has a peer dependency 🙈 we could install it by default in the cli? |
@daKmoR CLI install sounds reasonable to me if it's not already installed |
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks! |
Verified with @storybook/web-components v6.1.14 |
Describe the bug
Cannot run the storybook instance created by cli with web_components template. The example tries to import missing lit-html.
To Reproduce
Steps to reproduce the behavior:
npm init
.npx -p @storybook/cli sb init -t web_components
npm run storybook
Expected behavior
The project should compile and run without any error.
Note: the simpliest solution would be to install missing lit-html in the project. But in my opinion the example story should not impose any arbitrary library.
System:
System:
OS: Linux 5.3 Ubuntu 18.04.4 LTS (Bionic Beaver)
CPU: (8) x64 Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
Binaries:
Node: 12.14.1 - ~/.nvm/versions/node/v12.14.1/bin/node
npm: 6.13.4 - ~/.nvm/versions/node/v12.14.1/bin/npm
Browsers:
Chrome: 80.0.3987.87
Firefox: 72.0.2
npmPackages:
@storybook/web-components: ^5.3.13 => 5.3.13
Additional context
Console output:
The text was updated successfully, but these errors were encountered: