问题描述
我们无法将 storybook 安装到 NX 项目(最新版本)中,只能在 11.1.5 版本中运行,但无法启动,下面是重现它的步骤:
> 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
执行最后一个命令后storybook 没有启动,也没有显示任何错误
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)