BrowserModule has already been loaded
aset1002 opened this issue · comments
Aisaiti commented
Aisaiti commented
why520crazy commented
如果你其他地方没有导入不可能报错的,浏览器的模块必须在根模块导入,这里就是根模块
why520crazy commented
你可以先先手动把生成的根模块去掉浏览器模块试试,看看哪个地方用了
Aisaiti commented
我又检查了一遍 BrowserModule 没有导入。
只有一个地方导入CommonModule
Aisaiti commented
docgeni serve 启动后页面时正常的大
只有打包docgeni build后报错
Aisaiti commented
删除了.docgeni文件夹下site文件夹 重新build后问题解决了
这个docgeni build 时不会先删除site文件夹 重建吗
why520crazy commented
Site 文件夹不会整体清除,会清除一些内部的文件夹,每次构建都会生成相关文件覆盖,不确定你这边是组件还是其他地方出的问题。
stale commented
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.