NX: can't execute storybook

332 Views Asked by At

we cannot install storybook into a NX project (latest version), works only in the version 11.1.5 but it doesn't start , below the steps to reproduce it:

> rm -rf node_modules 
    
> npm i
> nx migrate 11.1.5
> npm i @nrwl/storybook -D
    

> manually update versions
 "@nrwl/angular": "11.1.5",
 "@nrwl/cli": "11.1.5",
 "@nrwl/eslint-plugin-nx": "11.1.5",
 "@nrwl/jest": "11.1.5",
 "@nrwl/linter": "11.1.5",
 "@nrwl/storybook": "12.0.8",
 "@nrwl/tao": "11.1.5",
 "@nrwl/workspace": "11.1.5",

> npm install

> npx nx g @nrwl/angular:storybook-configuration frontend-core

> npx nx run frontend-core:storybook

after execute the last command storybook doesn't start and it doesn't show any errors

enter image description here

0

There are 0 best solutions below