已解决,问题的原因是:IDE预览有个这个配置:bigPackageSizeSupport。设置预览包的大小,默认是4M,而cli没有配置,默认是2M
miniprogram-cli调用预览报错80200?一摸一样的配置,在开发者工具是ok的,使用cli命令生成预览码报错,CodeError: Error: {"errCode":-1,"errMsg":"inner test source fail with errcode: 80200, errmsg: main package source size 2097KB exceed max limit 2MB"} const ci = require('miniprogram-ci') ; (async () => { const project = new ci.Project({ appid: '********', type: 'miniProgram', projectPath: process.cwd() + '/dist/build/mp-wx-zsjfw', privateKeyPath: process.cwd() + '/private.zsjfw.wx.key', ignores: ['node_modules/**/*','images/**/*'], }) ci.preview({ project, desc: 'hello', setting: { urlCheck: false, es6: true, minify: true, }, libVersion: "2.25.4", qrcodeFormat: 'image', qrcodeOutputDest: process.cwd() + `/test.jpg`, onProgressUpdate: console.log, }).then(res => { console.log(res) }).catch(error => { console.log(error) process.exit(-1) }) })()
2023-02-03已解决,问题的原因是:IDE预览有个这个配置:bigPackageSizeSupport。设置预览包的大小,默认是4M,而cli没有配置,默认是2M
cli工具预览,超出代码包限制?同一份代码,开发者工具可以进行预览,调用cli报错 {"errCode":-1,"errMsg":"inner test source fail with errcode: 80200, errmsg: main package source size 2097KB exceed max limit 2MB"} 配置: const ci = require('miniprogram-ci') ; (async () => { const project = new ci.Project({ appid: '********', type: 'miniProgram', projectPath: process.cwd() + '/dist/build/mp-wx-zsjfw', privateKeyPath: process.cwd() + '/private.zsjfw.wx.key', ignores: ['node_modules/**/*','images/**/*'], }) ci.preview({ project, desc: 'hello', setting: { urlCheck: false, es6: true, minify: true, }, libVersion: "2.25.4", qrcodeFormat: 'image', qrcodeOutputDest: process.cwd() + `/test.jpg`, onProgressUpdate: console.log, }).then(res => { console.log(res) }).catch(error => { console.log(error) process.exit(-1) }) })()
2023-02-03遇到了同问题,解决了吗? https://developers.weixin.qq.com/community/minihome/doc/000088daab8378136f3fd95c351800
miniprogram-ci ,显示上传错误 80200,但是开发工具可以正常上传https://developers.weixin.qq.com/miniprogram/dev/devtools/ci.html 显示 80200, errmsg: main package source size 2763KB exceed max limit 2MB" 同样的配置,小程序开发工具就能上传成功(已经进行了分包) 自动上传:upload zip buffer size: 2158223 开发工具提示: [图片] zip 包大小一样。
2023-01-30楼主解决了吗?我也遇到了这个问题 https://developers.weixin.qq.com/community/minihome/doc/000088daab8378136f3fd95c351800
代码上传时提示错误码:80200,main package source size 2362KB ?这是包的大小,也不超过2M,为什么提示超过了2M了? [图片][图片]
2023-01-30楼主解决了吗? 我也遇到了这个问题 https://developers.weixin.qq.com/community/minihome/doc/000088daab8378136f3fd95c351800
小程序commit代码, 代码: -80200, 信息: hint: [GkZE5a089110?appid: wxc88c3b3684e5ccdb 开放平台appid: wxcb64c76eee930f9f 请求时间:2020.4.14 11点10分左右 请求接口:'https://api.weixin.qq.com/wxa/commit?access_token=32_-iFaU4gA1ANEnc2waJ7wE6rRAOe0NMVYN1UnDliVFsetQHkwCkpp8AEWQLFoXKvKIbXQQfnwSgz8KRRYL_ffuqDBZ3lfRAkJ55TdjK7eZ7TXenPBOrItXH073xOx-jkUGKXdLhzW9YCfWGPQONWdAFDDCL' 请求数据:'{"template_id":"22","ext_json":"{\\"extEnable\\":true,\\"extAppid\\":\\"wxc88c3b3684e5ccdb\\",\\"ext\\":{\\"siteInfo\\":{\\"uniacid\\":\\"1\\",\\"acid\\":\\"1\\",\\"siteroot\\":\\"https:\\\\\\/\\\\\\/1.duoxunwl.com\\\\\\/app\\\\\\/wxapp.php\\",\\"sitebase\\":\\"https:\\\\\\/\\\\\\/1.duoxunwl.com\\\\\\/app\\",\\"module\\":\\"we7_wmall\\",\\"version\\":\\"9.90.6\\",\\"lang\\":\\"zh-cn\\"},\\"diy\\":{\\"home\\":0}},\\"pages\\":[\\"pages\\\\\\/home\\\\\\/index\\",\\"pages\\\\\\/order\\\\\\/create\\",\\"pages\\\\\\/order\\\\\\/index\\",\\"pages\\\\\\/deliveryCard\\\\\\/index\\",\\"pages\\\\\\/home\\\\\\/location\\",\\"pages\\\\\\/store\\\\\\/search\\",\\"pages\\\\\\/store\\\\\\/goods\\",\\"pages\\\\\\/store\\\\\\/home\\",\\"pages\\\\\\/home\\\\\\/searchResult\\",\\"pages\\\\\\/home\\\\\\/search\\",\\"pages\\\\\\/order\\\\\\/invoice\\",\\"pages\\\\\\/member\\\\\\/profilePassword\\",\\"pages\\\\\\/order\\\\\\/note\\",\\"pages\\\\\\/member\\\\\\/favorite\\",\\"pages\\\\\\/member\\\\\\/address\\",\\"pages\\\\\\/member\\\\\\/recharge\\",\\"pages\\\\\\/member\\\\\\/bind\\",\\"pages\\\\\\/member\\\\\\/profile\\",\\"pages\\\\\\/member\\\\\\/addressPost\\",\\"pages\\\\\\/member\\\\\\/profileUsername\\",\\"pages\\\\\\/member\\\\\\/coupon\\\\\\/index\\",\\"pages\\\\\\/member\\\\\\/redPacket\\\\\\/index\\",\\"pages\\\\\\/member\\\\\\/redPacket\\\\\\/noAvailabel\\",\\"pages\\\\\\/home\\\\\\/category\\",\\"pages\\\\\\/order\\\\\\/comment\\",\\"pages\\\\\\/order\\\\\\/detail\\",\\"pages\\\\\\/store\\\\\\/comment\\",\\"pages\\\\\\/store\\\\\\/index\\",\\"pages\\\\\\/public\\\\\\/footer\\",\\"pages\\\\\\/public\\\\\\/webview\\",\\"pages\\\\\\/public\\\\\\/message\\",\\"pages\\\\\\/public\\\\\\/richtext\\",\\"pages\\\\\\/public\\\\\\/pay\\",\\"pages\\\\\\/order\\\\\\/cart\\",\\"pages\\\\\\/order\\\\\\/map\\",\\"pages\\\\\\/store\\\\\\/shopPage\\",\\"pages\\\\\\/diy\\\\\\/index\\",\\"pages\\\\\\/store\\\\\\/goodsDetail\\",\\"pages\\\\\\/store\\\\\\/settle\\",\\"pages\\\\\\/store\\\\\\/application\\",\\"pages\\\\\\/table\\\\\\/goods\\",\\"pages\\\\\\/store\\\\\\/report\\",\\"pages\\\\\\/home\\\\\\/help\\",\\"pages\\\\\\/member\\\\\\/mine\\",\\"pages\\\\\\/store\\\\\\/paybill\\",\\"pages\\\\\\/spread\\\\\\/index\\",\\"pages\\\\\\/spread\\\\\\/register\\",\\"pages\\\\\\/paotui\\\\\\/guide\\",\\"pages\\\\\\/paotui\\\\\\/order\\",\\"pages\\\\\\/paotui\\\\\\/diy\\",\\"pages\\\\\\/creditshop\\\\\\/index\\"],\\"subPackages\\":[{\\"root\\":\\"tangshi\\",\\"pages\\":[\\"pages\\\\\\/assign\\\\\\/assign\\",\\"pages\\\\\\/assign\\\\\\/assignDetail\\",\\"pages\\\\\\/reserve\\\\\\/create\\",\\"pages\\\\\\/reserve\\\\\\/goods\\",\\"pages\\\\\\/reserve\\\\\\/goodsDetail\\",\\"pages\\\\\\/reserve\\\\\\/index\\",\\"pages\\\\\\/reserve\\\\\\/invoice\\",\\"pages\\\\\\/reserve\\\\\\/note\\",\\"pages\\\\\\/table\\\\\\/create\\",\\"pages\\\\\\/table\\\\\\/goods\\",\\"pages\\\\\\/table\\\\\\/goodsDetail\\",\\"pages\\\\\\/table\\\\\\/invoice\\",\\"pages\\\\\\/table\\\\\\/note\\"]},{\\"root\\":\\"gohome\\",\\"pages\\":[\\"pages\\\\\\/tongcheng\\\\\\/index\\",\\"pages\\\\\\/tongcheng\\\\\\/search\\",\\"pages\\\\\\/tongcheng\\\\\\/searchResult\\",\\"pages\\\\\\/tongcheng\\\\\\/publish\\\\\\/index\\",\\"pages\\\\\\/tongcheng\\\\\\/publish\\\\\\/post\\",\\"pages\\\\\\/tongcheng\\\\\\/publish\\\\\\/list\\",\\"pages\\\\\\/tongcheng\\\\\\/detail\\",\\"pages\\\\\\/pintuan\\\\\\/index\\",\\"pages\\\\\\/pintuan\\\\\\/detail\\",\\"pages\\\\\\/pintuan\\\\\\/share\\",\\"pages\\\\\\/pintuan\\\\\\/category\\",\\"pages\\\\\\/pintuan\\\\\\/create\\",\\"pages\\\\\\/kanjia\\\\\\/order\\\\\\/create\\",\\"pages\\\\\\/kanjia\\\\\\/share\\",\\"pages\\\\\\/kanjia\\\\\\/detail\\",\\"pages\\\\\\/kanjia\\\\\\/index\\",\\"pages\\\\\\/kanjia\\\\\\/record\\",\\"pages\\\\\\/kanjia\\\\\\/category\\",\\"pages\\\\\\/poster\\\\\\/index\\",\\"pages\\\\\\/seckill\\\\\\/detail\\",\\"pages\\\\\\/seckill\\\\\\/category\\",\\"pages\\\\\\/seckill\\\\\\/index\\",\\"pages\\\\\\/seckill\\\\\\/order\\\\\\/create\\",\\"pages\\\\\\/comment\\\\\\/comment\\",\\"pages\\\\\\/order\\\\\\/index\\",\\"pages\\\\\\/order\\\\\\/detail\\",\\"pages\\\\\\/member\\\\\\/favorite\\",\\"pages\\\\\\/home\\\\\\/index\\",\\"pages\\\\\\/haodian\\\\\\/index\\",\\"pages\\\\\\/haodian\\\\\\/category\\",\\"pages\\\\\\/haodian\\\\\\/search\\",\\"pages\\\\\\/haodian\\\\\\/searchResult\\",\\"pages\\\\\\/haodian\\\\\\/settle\\",\\"pages\\\\\\/haodian\\\\\\/comment\\",\\"pages\\\\\\/haodian\\\\\\/application\\"]},{\\"root\\":\\"package\\",\\"pages\\":[\\"pages\\\\\\/deliveryCard\\\\\\/index\\",\\"pages\\\\\\/deliveryCard\\\\\\/power\\",\\"pages\\\\\\/deliveryCard\\\\\\/apply\\",\\"pages\\\\\\/kaijiang\\\\\\/index\\",\\"pages\\\\\\/shareRedpacket\\\\\\/repeat\\",\\"pages\\\\\\/shareRedpacket\\\\\\/success\\",\\"pages\\\\\\/shareRedpacket\\\\\\/index\\",\\"pages\\\\\\/shareRedpacket\\\\\\/invite\\",\\"pages\\\\\\/kaijiang\\\\\\/index\\",\\"pages\\\\\\/freelunch\\\\\\/luckier\\",\\"pages\\\\\\/freelunch\\\\\\/index\\",\\"pages\\\\\\/freelunch\\\\\\/mealCoupon\\",\\"pages\\\\\\/freelunch\\\\\\/rule\\",\\"pages\\\\\\/freelunch\\\\\\/detail\\",\\"pages\\\\\\/freelunch\\\\\\/partakeSuccess\\",\\"pages\\\\\\/kaijiang\\\\\\/index\\",\\"pages\\\\\\/ordergrant\\\\\\/index\\",\\"pages\\\\\\/ordergrant\\\\\\/share\\",\\"pages\\\\\\/ordergrant\\\\\\/record\\",\\"pages\\\\\\/kaijiang\\\\\\/index\\",\\"pages\\\\\\/superredpacket\\\\\\/share\\",\\"pages\\\\\\/kaijiang\\\\\\/index\\",\\"pages\\\\\\/mealRedpacket\\\\\\/ordermeal\\",\\"pages\\\\\\/mealRedpacket\\\\\\/plus\\",\\"pages\\\\\\/mealRedpacket\\\\\\/meal\\",\\"pages\\\\\\/mealRedpacket\\\\\\/orderplus\\",\\"pages\\\\\\/kaijiang\\\\\\/index\\",\\"pages\\\\\\/storebd\\\\\\/index\\",\\"pages\\\\\\/storebd\\\\\\/commission\\",\\"pages\\\\\\/storebd\\\\\\/getcash\\",\\"pages\\\\\\/storebd\\\\\\/current\\",\\"pages\\\\\\/storebd\\\\\\/getcashlog\\",\\"pages\\\\\\/storebd\\\\\\/store\\",\\"pages\\\\\\/kaijiang\\\\\\/index\\",\\"pages\\\\\\/svip\\\\\\/index\\",\\"pages\\\\\\/svip\\\\\\/mine\\",\\"pages\\\\\\/svip\\\\\\/mission\\",\\"pages\\\\\\/svip\\\\\\/missionList\\",\\"pages\\\\\\/svip\\\\\\/purchase\\",\\"pages\\\\\\/svip\\\\\\/record\\",\\"pages\\\\\\/svip\\\\\\/redpacketCoupon\\",\\"pages\\\\\\/svip\\\\\\/vipEnjoy\\",\\"pages\\\\\\/kaijiang\\\\\\/index\\"]},{\\"root\\":\\"plugin\\",\\"pages\\":[\\"pages\\\\\\/bargain\\\\\\/index\\",\\"pages\\\\\\/channel\\\\\\/brand\\",\\"pages\\\\\\/channel\\\\\\/coupon\\",\\"pages\\\\\\/creditshop\\\\\\/detail\\",\\"pages\\\\\\/creditshop\\\\\\/list\\",\\"pages\\\\\\/creditshop\\\\\\/index\\",\\"pages\\\\\\/creditshop\\\\\\/create\\",\\"pages\\\\\\/creditshop\\\\\\/goods\\",\\"pages\\\\\\/creditshop\\\\\\/goodsDetail\\",\\"pages\\\\\\/live\\\\\\/index\\",\\"pages\\\\\\/paotui\\\\\\/guide\\",\\"pages\\\\\\/paotui\\\\\\/diy\\",\\"pages\\\\\\/paotui\\\\\\/map\\",\\"pages\\\\\\/paotui\\\\\\/feeRule\\",\\"pages\\\\\\/paotui\\\\\\/order\\",\\"pages\\\\\\/paotui\\\\\\/detail\\",\\"pages\\\\\\/spread\\\\\\/index\\",\\"pages\\\\\\/spread\\\\\\/poster\\",\\"pages\\\\\\/spread\\\\\\/register\\",\\"pages\\\\\\/spread\\\\\\/currentDetail\\",\\"pages\\\\\\/spread\\\\\\/down\\",\\"pages\\\\\\/spread\\\\\\/detail\\",\\"pages\\\\\\/spread\\\\\\/rank\\",\\"pages\\\\\\/spread\\\\\\/order\\",\\"pages\\\\\\/spread\\\\\\/commission\\",\\"pages\\\\\\/spread\\\\\\/getCashLog\\",\\"pages\\\\\\/spread\\\\\\/getCash\\",\\"pages\\\\\\/spread\\\\\\/current\\",\\"pages\\\\\\/wheel\\\\\\/index\\",\\"pages\\\\\\/wheel\\\\\\/record\\",\\"pages\\\\\\/kefu\\\\\\/index\\",\\"pages\\\\\\/kefu\\\\\\/chat\\",\\"pages\\\\\\/kabao\\\\\\/join\\",\\"pages\\\\\\/kabao\\\\\\/detail\\",\\"pages\\\\\\/kabao\\\\\\/index\\",\\"pages\\\\\\/kabao\\\\\\/record\\"]}]}","user_version":"9.90.6","user_desc":""}'
2023-01-30同样遇到该问题,楼主解决了吗?https://developers.weixin.qq.com/community/minihome/doc/000088daab8378136f3fd95c351800,
预览上传一直报错 Error: 系统错误,错误码:80200,main?Error: 系统错误,错误码:80200,main package source size 2594KB exceed max limit 2MB [20210715 18:04:42][wx517a9de508acf1d5] 复制错误信息 预览上传一直报错
2023-01-30解决了吗
miniprogram-ci主包大小计算有误?20003 Error: {"errCode":-1,"errMsg":"inner upload fail with errcode: 80200, errmsg: main package source size 2126KB exceed max limit 2MB"} user-agent = "npm/6.14.8 node/v12.19.0 win32 x64" [图片]
2023-01-29@官方
小程序首次发布至今2周了,依然无法通过微信顶部搜索到小程序,人工客服一直说在向上反馈,该怎么处理?[图片]
2022-06-20const request = params =>{ const {url,method,header,data} = params return new Promise((resolve, reject) => { wx.request({ url, data, header, method, success:function(res){ resolve(res) } }) }) } async initRequest(){ await request({}) await request({}) await request({}) }
wx.request不支持async/await编程模式的原因及替代方案?虽然文档中表明了wx.request等基础API不支持 async/await,我还是不明白为什么? 如果一个任务要做10个异步网络调用,没有这个写法,代码会很难看。 不知道社区有其他的替代方案吗?有人开源了自己写的较高质量的Promise封装吗? 感谢
2021-07-08系统组件
picker mode=“time” 在安卓系统和苹果系统下展示效果不一样https://developers.weixin.qq.com/miniprogram/dev/component/picker.html [图片]苹果系统 [图片]安卓系统 请问如何可以统一?
2021-07-06