uniapp module 'app.js' is not defined, require args is 'app.js'如何解决?
在uniapp开发中遇到报错"module ‘app.js’ is not defined, require args is ‘app.js’",请问该如何解决?这个错误是在编译运行时突然出现的,之前项目运行正常。检查了文件路径和引用方式都没发现问题,请问可能是什么原因导致的?需要修改哪些配置才能解决?
2 回复
检查manifest.json中是否配置了app.js模块路径,确保文件存在且路径正确。若使用HBuilderX,尝试重新运行项目。


