Home:ALL Converter>Nx run storybook does nothing and terminates

Nx run storybook does nothing and terminates

Ask Time:2021-03-26T23:56:28         Author:Allan Juan

Json Formatter

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:

enter image description here

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

Author:Allan Juan,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/66820273/nx-run-storybook-does-nothing-and-terminates
yy