大约有 89 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0036 秒)
...蛇羹 赞同来自: data stderr: internal/modules/cjs/loader.js:583 throw err; ^ Error: Cannot find module 'shelljs' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15) at Function.Module._load (internal/modules/cjs/loader.js:507:25) at Module.r...
来源: Laya_社区 发布时间: 20200619
...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
...points: number[]) { if (points.length < 4 || points.length % 2 !== 0) { throw new Error("At least two points (four numbers) are required, and the total number of values must be even"); } this.points = points; } private static distance(x1: number, y1: number, x2: number, y2: number): number { let ...
来源: Laya_社区 发布时间: 20241008
...(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