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

"One main Storybook instance for all projects" instructions do not work #22899

Open
1 of 4 tasks
vezaynk opened this issue Apr 19, 2024 · 0 comments
Open
1 of 4 tasks
Assignees
Labels
scope: storybook Issues related to Storybook support in Nx type: bug

Comments

@vezaynk
Copy link

vezaynk commented Apr 19, 2024

Current Behavior

When running the two first commands on https://nx.dev/recipes/storybook/one-storybook-for-all, I see an error asking me to report this here :)

commands in question:

  1. nx g @nx/react:library storybook-host --directory=libs/storybook-host --bundler=none --unitTestRunner=none --projectNameAndRootFormat=as-provided
  2. nx g @nx/storybook:configuration storybook-host --interactionTests=true --uiFramework=@storybook/react-vite

Result:

image

Expected Behavior

It should not error

GitHub Repo

No response

Steps to Reproduce

  1. run the two first commands on https://nx.dev/recipes/storybook/one-storybook-for-all

Nx Report

NX   Report complete - copy this into the issue template

Node   : 20.9.0
OS     : darwin-arm64
npm    : 10.1.0

nx (global)        : 18.0.5
nx                 : 18.3.2
@nx/js             : 18.3.2
@nx/linter         : 18.3.2
@nx/eslint         : 18.3.2
@nx/workspace      : 18.3.2
@nx/cypress        : 18.3.2
@nx/devkit         : 18.3.2
@nx/eslint-plugin  : 18.3.2
@nx/react          : 18.3.2
@nx/storybook      : 18.3.2
@nrwl/tao          : 18.3.2
@nx/vite           : 18.3.2
@nx/web            : 18.3.2
typescript         : 4.8.2
---------------------------------------
Registered Plugins:
@nx/eslint/plugin

Failure Logs

No response

Package Manager Version

No response

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

No response

@AgentEnder AgentEnder added the scope: storybook Issues related to Storybook support in Nx label Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: storybook Issues related to Storybook support in Nx type: bug
Projects
None yet
Development

No branches or pull requests

3 participants