【发布时间】:2021-05-10 11:39:19
【问题描述】:
在创建多模块 Vaadin 项目并从 IDE 运行时,有时会在父模块中创建 node_modules 和其他生成的文件和目录。
这会导致项目运行时出错,如下图:
Uncaught DOMException: Failed to execute 'define' on 'CustomElementRegistry': the name "vaadin-lumo-styles" has already been used with this registry
at eval (webpack-internal:///../node_modules/@vaadin/vaadin-lumo-styles/version.js?babel-target=es6:10:16)
我该如何解决这个问题?
【问题讨论】:
标签: spring-boot intellij-idea vaadin