收藏
回答

为什么我的小程序上传失败?

我想上传微擎下载的啦啦外卖小程序,可是提示我ext.json没有被打包上传,我的文件夹里存在这个文件的。还有,我使用真机调试的时候,出现

util.js:538 https://www.wazyb.com/app/wxapp.php?i=2&v=undefined&m=we7_wmall&c=entry&do=mobile&ctrl=wmall&ac=home&op=index&ta=cart&&from=wxapp

VM487 [VM 6]:1 [2019-08-1520:35:17:7440]request begin

VM489 [VM 8]:1 [2019-08-1520:35:17:8260]request success

util.js:547 undefined

VM136 [publib]:1 thirdScriptError

Cannot read property 'errno' ofundefined;at api request success callback function

TypeError: Cannot read property 'errno' ofundefined

   at success (weapp:///static/js/utils/util.js:588:36)

   at Function.function.o.(anonymous function) ([publib]:1:777764)

   at [publib]:1:101980

   at O ([publib]:1:226368)

   at a.<anonymous> ([publib]:1:459860)

   at a.emit ([publib]:1:244002)

   at Va ([publib]:1:460468)

   at [publib]:1:461675

   at [publib]:1:254325

   at Object.S ([publib]:1:1768)

errorReport @ VM136 [publib]:1

thirdErrorReport @ VM136 [publib]:1

(anonymous) @ VM136 [publib]:1

O @ VM136 [publib]:1

(anonymous) @ VM136 [publib]:1

a.emit @ VM136 [publib]:1

Va @ VM136 [publib]:1

(anonymous) @ VM136 [publib]:1

(anonymous) @ VM136 [publib]:1

S @ VM136 [publib]:1

value @ remote-helper.js:68

(anonymous) @ VM491 [VM 10]:1

runInContext @ vm.js:135

runInContext @ vm.js:298

handleEvaluateJavascript @remote-helper.js:1

handleProcessMessage @ remote-helper.js:68

ws.on @ remote-helper.js:68

emit @ events.js:193

_receiver.onmessage @ WebSocket.js:146

dataMessage @ Receiver.js:389

getData @ Receiver.js:330

startLoop @ Receiver.js:165

add @ Receiver.js:139

_ultron.on @ WebSocket.js:142

emit @ events.js:193

addChunk @ _stream_readable.js:295

readableAddChunk @ _stream_readable.js:276

Readable.push @ _stream_readable.js:231

onStreamRead @internal/stream_base_commons.js:150

util.js:576 {data: "<!doctypehtml>↵<html>↵<head>↵<meta charset="utf-8…↵↵<body>↵<h3>404,您请求的文件不存在!</h3>↵</body>↵</html>↵", statusCode: 404, header: {…}, errMsg:"request:ok"}




回答关注问题邀请回答
收藏

2 个回答

  • 灵芝
    灵芝
    2019-08-16

    麻烦提供出现能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

    2019-08-16
    有用
    回复 2
    • gx
      gx
      2019-09-21
      为什么我把前端APP.js里面的siteroot改成 http://localhost/app/wxapp.php,就会报错?我只想本地调试小程序,我已经勾选了不检验TLS,可还是不行。我改成http://本地IP/app/wxapp.php也不行。
      2019-09-21
      回复
    • 灵芝
      灵芝
      2019-09-23回复gx
      具体报什么错
      2019-09-23
      回复
  • x_Qiang
    x_Qiang
    2019-08-15

    ext.json应该是一个无关紧要的文件

    2019-08-15
    有用
    回复
登录 后发表内容
问题标签