大约有 85 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0036 秒)
...D:\LayaAirIDE_1.7.13\resources\app\node_modules\uglify-js\lib\parse.js:204 throw new JS_Parse_Error(message, line, col, pos); ^ Error at new JS_Parse_Error (D:\LayaAirIDE_1.7.13\resources\app\node_modules\uglify-js\lib\parse.js:196:18) at js_error (D:\LayaAirIDE_1.7.13\resources\app\node_modules\ugl...
来源: Laya_社区 发布时间: 20171206
...:void { try { var index:int = element._getIndexInList(); if (index !== -1) throw "SimpleSingletonList:"+element+" has in SingletonList."; _add(element); element._setIndexInList(length++); } catch(err) { console.log("多点触控出了问题,强行异常处理:",err)...
来源: Laya_社区 发布时间: 20190618
...e!=="Scene"){ if (url == "scene/Demo_Interiors.ls"){ console.log(data[0]); throw new Error("Scene: the .lh file root type must be Scene,please use other function to load this file."); } } var innerResouMap=data[1]; Utils3D._createNodeByJson(this,json,this,innerResouMap);...
来源: Laya_社区 发布时间: 20180101
...(err, root) { console.log("____________________________________") if (err) throw err; // Obtain a message type var AwesomeMessage = root.lookup("msg.LoginReq"); // Create a new message var message = AwesomeMessage.create( { openid: "AwesomeString" }); console.log(message.openid) // Verify the ...
来源: Laya_社区 发布时间: 20180704
...这里: laya.core.js的7430行 if (this._pos_+2 > this._length)throw "getUint16 error - Out of bounds"; 但是,不使用预加载,就不报错,只是不知道什么时候真的加载完成,那个_template不再为null,我就可以调用play了。 怎么解决? 我上传...
来源: Laya_社区 发布时间: 20180622
...):void{ let index:number=this.__bindList.indexOf(source); if(index<0){ throw new Error("找不到要删除的绑定内容"); } this.removeChild(source); this.__bindList.splice(index,1); } private __updateBinds():void{ let source:BindSource; let position:Laya.Point=Laya.Point.create(); for...
来源: Laya_社区 发布时间: 20190805
...urlret!=0 || httpret<200||httpret>=300){ onEvent('downloadError'); //throw 'download error'; }else{ onEvent('downloadOK'); //let md5 = calcmd5(fs_readFileSync(localfile)); //console.log('md5='+md5); let zip = new ZipFile(); if(zip.setSrc(localfile)){ zip.forEach((id,name,dir,sz)=>{ if(!dir)...
来源: Laya_社区 发布时间: 20180108
...游戏项目 index.js:829 data stderr: internal/modules/cjs/loader.js:968 throw err; ^ Error: Cannot find module 'C:\Users\Administrator\AppData\Roaming\npm\node_modules\@vivo-minigame\cli\bin\mg' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15) at Function.Module._load (i...
来源: Laya_社区 发布时间: 20200817
... if (box2d.DEBUG && !a) {console.log(box2d.DEBUG); console.log(a); throw Error() } else { }; }; 匿名用户 • 2018-12-30 15:59 box2d.ENABLE_ASSERTS && box2d.b2Assert(0 < this.m_jointCount); 这句话 0<this.m_jointCount 灰太狼 • 2019-03-19 10:34 @匿名用户:就是这...
来源: Laya_社区 发布时间: 20181213
...kawazo 请教下 在生成build文件的时候发生错误: fs.js:159 throw new ERR_INVALID_CALLBACK(); ^ TypeError [ERR_INVALID_CALLBACK]: Callback must be a function at maybeCallback (fs.js:159:9) at Object.fs.writeFile (fs.js:1278:14) at /usr/local/lib/node_modules/compo...
来源: Laya_社区 发布时间: 20180109