本地调试正常,提交审核一直说有报错,该从何查起?
发布于 7 年前 作者 vfan 7665 次浏览 来自 官方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 回复

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

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

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

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

回到顶部