• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 89 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0036 秒)

71. 2.5.0无法打包oppo的rpk [ 49%]

...蛇羹 赞同来自: 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

72. 1.7.13打包发布web版本报错 [ 46%]

...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

73. LayaBox 出错啦,请把此信息截图给研发商 SimpleSingletonList [ 46%]

...: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

74. 微信小游戏中加载unity导出的场景报错the .lh file root type must be Scene [ 45%]

...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

75. [LayaAir3]Laya3.x graphics.drawCurves 闪烁的问题 [ 44%]

...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

76. 微信小游戏中不能加载proto文件 [ 44%]

...(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

77. [临时解决]bug?加载sk问题 [ 43%]

...这里: laya.core.js的7430行    if (this._pos_+2 > this._length)throw "getUint16 error - Out of bounds"; 但是,不使用预加载,就不报错,只是不知道什么时候真的加载完成,那个_template不再为null,我就可以调用play了。   怎么解决?   我上传...

来源: Laya_社区 发布时间: 20180622

78. Laya 绑定显示内容到骨骼动画 [ 42%]

...):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

79. zip更新模式缓存是怎么读取的?? [ 42%]

...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

80. laya发布vivo小游戏失败 [ 42%]

...游戏项目 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