在 Liferay 中适配 Angular 应用程序时出错

问题描述

我正在尝试调整 Angular 10 应用程序(由 Angular CLI 生成的 hello world 应用程序)以在 Liferay 7.2 中作为小部件运行(使用 liferay-js:adapt)。

当我部署 jar 时,浏览器显示以下错误

Error: The following problems where detected while resolving modules:
    · Missing dependency 'hello-world-app@0.0.0/hello-world-app/polyfills-es5' of 'hello-world-app@0.0.0/index'
    · Missing dependency 'hello-world-app@0.0.0/hello-world-app/runtime-es5' of 'hello-world-app@0.0.0/index'
    · Missing dependency 'hello-world-app@0.0.0/hello-world-app/main-es5' of 'hello-world-app@0.0.0/index'

解决方法

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

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

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