question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The `@nrwl/storybook` does not recognize`@storybook/angular` as ui framework

See original GitHub issue

Current Behavior

The @nrwl/storybook library in version 14.1.9 does not allow to run storybook for angular.

The error:

Property 'uiFramework' does not match the schema. '@storybook/angular' should be one of @storybook/react,@storybook/html,@storybook/web-components,@storybook/vue,@storybook/vue3,@storybook/svelte.

Reason

The @nrwl/storybook package does not list@storybook/angular in its schema.

Checked in files

  • packages/storybook/src/executors/storybook/schema.json
  • packages/storybook/src/executors/build-storybook/schema.json

https://github.com/nrwl/nx/blob/c0a0f1691373996f1b76622143c5646168ef1eb3/packages/storybook/src/executors/build-storybook/schema.json#L16-L23

If the drop of support for @storybook/angular is intentional, close this issue with comment, whether it is a temporary or permanent.

Thanks.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:4
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
mandarinicommented, Jun 8, 2022

Hi there @baunov @ales-albert-kilbergr @eglyte ! Thanks for this issue.

Please take a look at these comments here: Comment 1, Comment 2

Also, please take a look at the documentation as well as our new generator, change-storybook-targets.

I am assuming you did not use nx migrate to move to latest version, but that’s ok. You can use the change-storybook-targets to change your Storybook targets for Angular projects across the repo.

As I noted in the comments I linked above, this is 100% intentional. So, @baunov no fix needed! 😃 Starting Nx v.14.1.8 we are moving away from the Nx executor, and we’re using the native Storybook executor.

1reaction
venture-vincommented, Dec 14, 2022

Hello @venture-vin ! So, the thing is that your @nrwl/* packages versions should all be aligned, for Nx to work correctly. Can you please try aligning the versions, and see if it works? So, just install the version of @nrwl/storybook that all your other @nrwl/* packages are using.

This worked @mandarini, thank you so much! Hopefully, this helps someone else that is looking at this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

is missing from the TypeScript compilation. Please make sure ...
When I first tried to install Storybook, no webpack module had been added. I want to avoid adding unnecessary modules. angular · storybook...
Read more >
@nrwl/storybook:init | Nx
Next generation build system with first class monorepo support and powerful integrations.
Read more >
Use Storybook with Nx React Native | by Emily Xiong - Nx Blog
This blog will show how to add Storybook to Nx React Native applications. With Nx, you don't need to go through this long...
Read more >
Storybook Addon Next
A no config Storybook addon that makes Next.js features just work in ... See this issue for more discussion on how Next.js Image...
Read more >
nrwl-nx/community - Gitter
I can't see why the react/storybook plugins seem to create hidden folders (like ... No name was provided for external module '@myOrg/shared-ui' in ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found