I'm trying to add storybook support to an existing Nx Angular project. More specifically, to a library called ui
. Following the docs, I ran:
$ npm i -D @nrwl/storybook
$ nx g @nrwl/angular:storybook-configuration project-name
The .storybook
folder was successfully generated under the ui
library. I added a *.component.story.ts
file to one of my components folder. But then, when I run nx run ui:storybook
, it does nothing and just terminates, as shown belown:
How do I fix this?
Nx Report Output
> NX Report complete - copy this into the issue template
Node : 14.15.4
OS : win32 x64
npm : 6.14.10
nx : Not Found
@nrwl/angular : 11.0.20
@nrwl/cli : 11.0.20
@nrwl/cypress : 11.0.20
@nrwl/devkit : 11.0.20
@nrwl/eslint-plugin-nx : 11.0.20
@nrwl/express : Not Found
@nrwl/jest : 11.0.20
@nrwl/linter : 11.0.20
@nrwl/nest : Not Found
@nrwl/next : Not Found
@nrwl/node : Not Found
@nrwl/react : Not Found
@nrwl/schematics : Not Found
@nrwl/tao : 11.0.20
@nrwl/web : Not Found
@nrwl/workspace : 11.0.20
typescript : 4.0.5