NX:无法执行故事书

问题描述

我们无法将 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 没有启动,也没有显示任何错误

enter image description here

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...