本地调试正常,提交审核一直说有报错,该从何查起?

发布于 8 年前作者 vfan7806 次浏览最后编辑 8 年前来自 issues

代码本地调试都没报错,提交审核。

报错如下:

Error Error: module “dist/packages/@zanui/noticebar/index” is not defined at require (WASubContext.js:1:1320641) at (WASubContext.js:1:1320390) at require (dist/packages/@zanui/index.js:4:21) at require (WASubContext.js:1:1320774) at global code (app-service.js:7653:17) at (native code) at value (WAService.js:1:111817) at (WAService.js:1:113356) at (WAService.js:1:109289) at (WAService.js:1:119404) at (WAService.js:1:118388) at forEach (native code) at (WAService.js:1:118352) at (WAService.js:1:119404) at m (WAService.js:1:1826)

4 回复
tzeng
tzeng1 楼6 年前

楼主解决了吗,我遇到一模一样的问题,查了两天了

mwan
mwan2 楼6 年前

楼主解决了吗?我也是一样的问题。Error: module “dist/packages/@zanui/noticebar/index” is not defined at require (WASubContext.js:1:1358884)

xia65
xia653 楼6 年前

发现多了一个index.json文件,删除即可

zhangjuan
zhangjuan4 楼6 年前

我也遇到了同样的问题 手机上预览什么都没有