问题描述
NaN中的错误,但它们指向不同的模块(/Users/USER/eclipse-workspace/nms/bin/main/webapp/app/admin/admin.module.ts和"/Users/USER/eclipse-workspace/nms/src/main/webapp/app/admin/admin.module.ts).Webpack无法区分上下文,因此无法加载适当的上下文.
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.
我已经完成了./gradlew -Pprod和./gradlew -Pprod --debug --info --scan --stacktrace出现此错误: https://scans.gradle.com/s/czc6mol6ipsg6
I have done ./gradlew -PprodAnd with ./gradlew -Pprod --debug --info --scan --stacktraceGives this error: https://scans.gradle.com/s/czc6mol6ipsg6
与./gradlew配合良好和./gradlew -Pdev bootWar
Works well with ./gradlewand./gradlew -Pdev bootWar
节点版本v10.13.0
node version v10.13.0
jhipster版本使用当前项目的node_modules中本地安装的JHipster版本5.6.1
jhipster versionUsing JHipster version installed locally in current project's node_modules5.6.1
yarn --version1.12.3
yarn --version1.12.3
MacOS 10.12.6
MacOS 10.12.6
有什么建议吗?
推荐答案
将JHipster从5.7.2
升级到5.8.2
后,我得到了类似的错误最后,我删除了./bin/
文件夹,它可以解决问题.
I got similar error after upgrading JHipster from 5.7.2
to 5.8.2
Finally I deleted ./bin/
folder and it resolve the problem.
这篇关于NaN错误,但它们指向不同的模块. ... Webpack无法区分上下文,因此无法加载适当的上下文的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!