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

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

1. throw new Error 后无任何输出... [ 100%]

throw new Error 后无任何输出... 2016-12-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 popo 赞同来自: throw new Error("setChildIndex:The index is out of bounds.") 这一种写法就是个浪费劳动...

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

2. layaair2-cmd compile 一直报错loader.js:638 throw err; [ 94%]

layaair2-cmd compile 一直报错loader.js:638 throw err; 版本如下: PS E:\test2\test2> layaair2-cmd -v 1.6.15 PS E:\test2\test2> gulp -v CLI version: 2.3.0 Local version: Unknown PS E:\test2\test2> npm -v 7.19.0   报错内容: PS E:\test2\test2> layaair2-cmd compile internal/m...

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

3. 解决游戏最小化退到后台后浏览器会强制1秒执行一次ILaya.stage._loop() [ 83%]

...mp; typeof ms !== 'bigint') {                     throw TypeError('sleep: ms must be a number')                 }                 throw RangeError('sleep: ms must be a number that is greater than 0 but less than Infinity')...

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

4. 在加载swf动画之后在封装的里面报错了 , 用的官网的例子 [ 72%]

...to.getInt16=function(){         if (this._pos_+2 > this._length)throw "getInt16 error - Out of bounds";         var us=this._d_.getInt16(this._pos_,this._xd_);         this._pos_+=2;         return us;     } 只在那个 If  那一行报错了 pos的大小是1...

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

5. ts加密md5码封装 [ 70%]

...r, bit: number = 8, max: number = Math.pow(2, bit) - 1) { if (code < 0) throw new Error("code should be greater than: 0"); if (code > max) throw new Error("code should be less than: " + max); return this.padding(code.toString(2), bit, "0", false); } to_hex(code: number, bit: number = 8, max: n...

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

6. rev-path的nodejs库被修改了,导致版本管理失效 [ 70%]

...name'); module.exports = (pth, hash) => { if (!(pth && hash)) { throw new Error('`path` and `hash` required'); } return modifyFilename(pth, (filename, ext) => `${filename}-${hash}${ext}`); }; module.exports.revert = (pth, hash) => { if (!(pth && hash)) { throw new Error('`pa...

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

7. box2d动态创建绑定多个关节报错 Node:the component is singleton,can't add the second one. [ 68%]

...ce=function(comp){         if (comp.owner)             throw "Node:the component has belong to other node.";         if (comp.isSingleton && this.getComponent((comp).constructor))             throw "Node:the component is singleton,can't add the second ...

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

8. 2.4.0bate IDE layaair2-cmd 安装错误求解 [ 67%]

...layagame\sblaya2> layaair2-cmd internal/modules/cjs/loader.js:638     throw err;     ^ Error: Cannot find module 'C:\Users\Administrator\AppData\Roaming\npm\node_modules\layaair2-cmd\layaair2-cmd.js'     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)     at Fu...

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

9. layaAir TS项目如何引用protoBuf库? [ 65%]

...aded(err, root){             if (err)                 throw err;             // Obtain a message type             var AwesomeMessage = root.lookup("awesomepackage.AwesomeMessage");             // Create a new message  创建一条协议内容     ...

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

10. 小游戏子域程序加载到图集后,取图集内资源报错。 [ 64%]

...toloadPics[i]; postInfoToContext(url,tempAtlasPngUrl,atlasJson); } }else { throw "传递的url没有获取到对应的图集数据信息,请确保图集已经过!"; } } } private static function postInfoToContext(url:String,atlaspngUrl:String,atlasJson:Object):void { var postData:Object = {"fram...

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