微信公开课
微信公开课小程序热门讨论关于「小程序命令行上传版本报错,请大神帮忙」的小程序开发问题
补充:当前Bug的表现(可附上截图)1使用mac终端行执行命令ApplicationswechatwebdevtoolsappContentsMacOScliu14212@UsersliushaoyitestJsonForIdweixin_xiaomaiquanuploaddescversion1
展开:当前Bug的表现1使用mac终端行执行命令:ApplicationswechatwebdevtoolsappContentsMacOScliu14212@UsersliushaoyitestJsonForIdweixin_xiaomaiquanuploaddescversion14212ceshipreviewinfooutputUsersliushaoyitestJsonForIdversioninfotext结果完美上传2使用python3执行同样的命令报错:InitializingidePortFile:UsersliushaoyiLibraryApplicationSupport微信web开发者工具DefaultideIDEserverhasstarted,listeningonhttp:127001:34362initializationfinishedInitializingidePortFile:UsersliushaoyiLibraryApplicationSupport微信web开发者工具DefaultideIDEserverhasstarted,listeningonhttp:127001:34362initializationfinisheduploadingproject{StatusCodeError:400{code:40000,error:错误Error:undefined\nExpectingSTRING,NUMBER,NULL,TRUE,FALSE,{,[,gotEOF\n1|} atnewStatusCodeError(ApplicationswechatwebdevtoolsappContentsResourcespackagenwnode_modulesrequestpromisecoreliberrorsjs:32:15) atRequestplumbingcallback(ApplicationswechatwebdevtoolsappContentsResourcespackagenwnode_modulesrequestpromisecorelibplumbingjs:104:33) atRequestRP$callback[as_callback](ApplicationswechatwebdevtoolsappContentsResourcespackagenwnode_modulesrequestpromisecorelibplumbingjs:46:31) atRequestselfcallback(ApplicationswechatwebdevtoolsappContentsResourcespackagenwnode_modulesrequestrequestjs:188:22) atemitTwo(eventsjs:125:13) atRequestemit(eventsjs:213:7) atRequest<anonymous(ApplicationswechatwebdevtoolsappContentsResourcespackagenwnode_modulesrequestrequestjs:1171:10) atemitOne(eventsjs:115:13) atRequestemit(eventsjs:210:7) atIncomingMessage<anonymous(ApplicationswechatwebdevtoolsappContentsResourcespackagenwnode_modulesrequestrequestjs:1091:12)name:StatusCodeError,statusCode:400,message:400{\code\:40000,\error\:\错误Error:undefined\\nExpectingSTRING,NUMBER,NULL,TRUE,FALSE,{,[,gotEOF\\n1|\},error:{code:40000,error:错误Error:undefined\nExpectingSTRING,NUMBER,NULL,TRUE,FALSE,{,[,gotEOF\n1|},options:{url:http:127001:34362upload?cli=1&projectpath=%252FUsers%252Fliushaoyi%252FtestJsonForId%252Fweixin_xiaomaiquan&version=14214&desc=version14214ceshi&infooutput=, resolveWithFullResponse:true, callback:[Function:RP$callback], transform:undefined, simple:true, transform2xxOnly:false},response:IncomingMessage{ _readableState: ReadableState{ objectMode:false, highWaterMark:16384, buffer:[Object], length:0, pipes:null, pipesCount:0, flowing:true, ended:true, endEmitted:true, reading:false, sync:true, needReadable:false, emittedReadable:false, readableListening:false, resumeScheduled:false, destroyed:false, defaultEncoding:utf8, awaitDrain:0, readingMore:false, decoder:null, encoding:null}, readable:false, domain:null, _events: {end:[Array], close:[Array], data:[Function], error:[Function]}, _eventsCount:4, _maxListeners:undefined, socket: Socket{ connecting:false, _hadError:false, _handle:null, _parent:null, _host:null, _readableState:[Object], readable:false, domain:null, _events:[Object], _eventsCount:8, _maxListeners:undefined, _writableState:[Object], writable:false, allowHalfOpen:false, _bytesDispatched:205, _sockname:null, _pendingData:null, _pendingEncoding:, server:null, _server:null, parser:null, _httpMessage:[Object], read:[Function], _consuming:true, _idleNext:null, _idlePrev:null, _idleTimeout:1, [Symbol(asyncId)]:41, [Symbol(bytesRead)]:295}, connection: Socket{ connecting:false, _hadError:false, _handle:null, _parent:null, _host:null, _readableState:[Object], readable:false, domain:null, _events:[Object], _eventsCount:8, _maxListeners:undefined, _writableState:[Object], writable:false, allowHalfOpen:false, _bytesDispatched:205, _sockname:null, _pendingData:null, _pendingEncoding:, server:null, _server:null, parser:null, _httpMessage:[Object], read:[Function], _consuming:true, _idleNext:null, _idlePrev:null, _idleTimeout:1, [Symbol(asyncId)]:41, [Symbol(bytesRead)]:295}, httpVersionMajor:1, httpVersionMinor:1, httpVersion:11, complete:true, headers: {contenttype:applicationjson;charset=utf8, date:Fri,22Feb201913:10:12GMT, connection:close, transferencoding:chunked}, rawHeaders: [ContentType, applicationjson;charset=utf8, Date, Fri,22Feb201913:10:12GMT, Connection, close, TransferEncoding, chunked], trailers:{}, rawTrailers:[], upgrade:false, url:, method:null, statusCode:400, statusMessage:BadRequest, client: Socket{ connecting:false, _hadError:false, _handle:null, _parent:null, _host:null, _readableState:[Object], readable:false, domain:null, _events:[Object], _eventsCount:8, _maxListeners:undefined, _writableState:[Object], writable:false, allowHalfOpen:false, _bytesDispatched:205, _sockname:null, _pendingData:null, _pendingEncoding:, server:null, _server:null, parser:null, _httpMessage:[Object], read:[Function], _consuming:true, _idleNext:null, _idlePrev:null, _idleTimeout:1, [Symbol(asyncId)]:41, [Symbol(bytesRead)]:295}, _consuming:true, _dumped:false, req: ClientRequest{ domain:null, _events:[Object], _eventsCount:5, _maxListeners:undefined, output:[], outputEncodings:[], outputCallbacks:[], outputSize:0, writable:true, _last:true, upgrading:false, chunkedEncoding:false, shouldKeepAlive:false, useChunkedEncodingByDefault:false, sendDate:false, _removedConnection:false, _removedContLen:false, _removedTE:false, _contentLength:0, _hasBody:true, _trailer:, finished:true, _headerSent:true, socket:[Object], connection:[Object], _header:GETupload?cli=1&projectpath=%252FUsers%252Fliushaoyi%252FtestJsonForId%252Fweixin_xiaomaiquan&version=14214&desc=version14214ceshi&infooutput=HTTP11
host:127001:34362
Connection:close
, _onPendingData:[Function:noopPendingOutput], agent:[Object], socketPath:undefined, timeout:undefined, method:GET, path:upload?cli=1&projectpath=%252FUsers%252Fliushaoyi%252FtestJsonForId%252Fweixin_xiaomaiquan&version=14214&desc=version14214ceshi&infooutput=, _ended:true, res:[Circular], aborted:undefined, timeoutCb:null, upgradeOrConnect:false, parser:null, maxHeadersCount:null, [Symbol(outHeadersKey)]:[Object]}, request: Request{ domain:null, _events:[Object], _eventsCount:5, _maxListeners:undefined, resolveWithFullResponse:true, readable:true, writable:true, _qs:[Object], _auth:[Object], _oauth:[Object], _multipart:[Object], _redirect:[Object], _tunnel:[Object], _rp_resolve:[Function], _rp_reject:[Function], _rp_promise:[Object], _rp_callbackOrig:undefined, callback:[Function], _rp_options:[Object], headers:{}, setHeader:[Function], hasHeader:[Function], getHeader:[Function], removeHeader:[Function], method:GET, localAddress:undefined, pool:{}, dests:[], __isRequestRequest:true, _callback:[Function:RP$callback], uri:[Object], proxy:null, tunnel:false, setHost:true, originalCookieHeader:undefined, _disableCookies:true, _jar:undefined, port:34362, host:127001, path:upload?cli=1&projectpath=%252FUsers%252Fliushaoyi%252FtestJsonForId%252Fweixin_xiaomaiquan&version=14214&desc=version14214ceshi&infooutput=, httpModule:[Object], agentClass:[Object], agent:[Object], _started:true, href:http:127001:34362upload?cli=1&projectpath=%252FUsers%252Fliushaoyi%252FtestJsonForId%252Fweixin_xiaomaiquan&version=14214&desc=version14214ceshi&infooutput=, req:[Object], ntick:true, response:[Circular], originalHost:127001:34362, originalHostHeaderName:host, responseContent:[Circular], _destdata:true, _ended:true, _callbackCalled:true}, toJSON:[Function:responseToJSON], caseless:Caseless{dict:[Object]}, read:[Function], body:{code:40000,error:错误Error:undefined\nExpectingSTRING,NUMBER,NULL,TRUE,FALSE,{,[,gotEOF\n1|}}}
更多有关「小程序命令行上传版本报错,请大神帮忙」的讨论可以前往微信公开课小程序参与互动哦!了解更多
方法1:微信扫描微信公开课小程序码即可订阅热门讨论「小程序命令行上传版本报错,请大神帮忙」
方法2:微信搜索微信公开课小程序名称进入,即可订阅热门讨论「小程序命令行上传版本报错,请大神帮忙」
方法3:微信网页访问即速商店,长按识别微信公开课小程序码即可订阅热门讨论「小程序命令行上传版本报错,请大神帮忙」
微信公开课小程序热门讨论「小程序命令行上传版本报错,请大神帮忙」由微信公开课原创摘录于微信小程序商店shop.jisuapp.cn,转载请注明出处。
微信公开课热门讨论「小程序命令行上传版本报错,请大神帮忙」由微信公开课开发者向微信用户提供,并对本服务内容、数据资料及其运营行为等真实性、合法性及有效性承担全部责任。