ERROR in NaN but they point to different modules. … Webpack cannot distinguish on context and would fail to load the proper one
问题 ERROR in NaNbut they point to different modules "(/Users/USER/eclipse-workspace/nms/bin/main/webapp/app/admin/admin.module.ts and "/Users/USER/eclipse-workspace/nms/src/main/webapp/app/admin/admin.module.ts"). Webpack cannot distinguish on context and would fail to load the proper one. I have done ./gradlew -Pprod And with ./gradlew -Pprod --debug --info --scan --stacktrace Gives this error: https://scans.gradle.com/s/czc6mol6ipsg6 Works well with ./gradlew and ./gradlew -Pdev bootWar node