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

Create Storybook configuration using Typescript #10679

Closed
zijam opened this issue Jun 10, 2022 · 3 comments · Fixed by #10694
Closed

Create Storybook configuration using Typescript #10679

zijam opened this issue Jun 10, 2022 · 3 comments · Fixed by #10694
Assignees
Labels
outdated scope: storybook Issues related to Storybook support in Nx type: bug

Comments

@zijam
Copy link

zijam commented Jun 10, 2022

When generating storybook configuration to use Typescript I get following error

>  NX  Generating @nrwl/storybook:configuration

adding .storybook folder to the root directory
adding .storybook folder to app
npx nx generate @nrwl/storybook:configurationn nx-ui --uiFramework=@storybook/angular --no-configureCypress --tsConfiguration --no-interactive --dry-run
generateFiles: No files found in "<path_to_nx_workspace>/nx-ui/node_modules/@nrwl/storybook/src/generators/configuration/project-files-ts". Are you sure you specified the correct path?
The terminal process "/opt/homebrew/bin/zsh '-c', 'npx nx generate @nrwl/storybook:configuration nx-ui --uiFramework=@storybook/angular --no-configureCypress --tsConfiguration --no-interactive --dry-run'" terminated with exit code: 1.

Environment

   Node : 16.15.1
   OS   : darwin arm64
   npm  : 8.11.0
   
   nx : 14.2.4
   @nrwl/angular : 14.2.4
   @nrwl/cypress : 14.2.4
   @nrwl/detox : Not Found
   @nrwl/devkit : 14.2.4
   @nrwl/eslint-plugin-nx : 14.2.4
   @nrwl/express : Not Found
   @nrwl/jest : 14.2.4
   @nrwl/js : Not Found
   @nrwl/linter : 14.2.4
   @nrwl/nest : Not Found
   @nrwl/next : Not Found
   @nrwl/node : Not Found
   @nrwl/nx-cloud : Not Found
   @nrwl/nx-plugin : Not Found
   @nrwl/react : Not Found
   @nrwl/react-native : Not Found
   @nrwl/schematics : Not Found
   @nrwl/storybook : 14.2.4
   @nrwl/web : Not Found
   @nrwl/workspace : 14.2.4
   typescript : 4.7.3
   ---------------------------------------
   Community plugins:
         @storybook/angular: 6.5.8
@mwood23
Copy link

mwood23 commented Jun 18, 2022

@Coly010 I'm not seeing this fixed on my end with the latest release.

npx create-nx-workspace@latest burner-nx-2

npx nx generate @nrwl/storybook:configuration storybook --uiFramework=@storybook/react --no-interactive --dry-run

Error above will happen

@Coly010
Copy link
Contributor

Coly010 commented Jun 20, 2022

@mwood23 I cannot reproduce. Can you provide a reproduction?

@github-actions
Copy link

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated scope: storybook Issues related to Storybook support in Nx type: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants