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

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

41. 引擎1.7.6-beta,0.9.6的layanative,ios打包,真机iphone6, 发起websocket连接时失败 [ 76%]

...OTICE: Libwebsockets version: 1.6.0 3ca4bac [1496561796:2482] NOTICE: IPV6 compiled in and enabled [1496561796:2482] NOTICE: libev support not compiled in [1496561796:2493] NOTICE: mem: platform fd map: 2048 bytes [1496561796:2500] NOTICE: mem: per-conn: 336 bytes + protocol rx buf 2017-06-04 15:36:...

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

42. layaair2-cmd 运行报错,求助 [ 75%]

...求助 PS D:\Work\LayaTest\fightDemo2.7.1\fightDemo2.7.1> layaair2-cmd compile internal/mod ules/cjs/loader.js:638     throw err;     ^ Error: Cannot find module 'C:\Users\Nick'z\AppData\Roaming\npm\node_modules\layaair2-cmd\node_modules\gulp\bin\gulp.js'     at Function.Module._resolveFile...

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

43. layacmd任务执行之后能不能自动关闭 [ 74%]

...any key 这么麻烦   ```javascript   {       "taskName": "laya compile",       "isBuildCommand": false,       "isShellCommand": true,       "showOutput": "always",       "echoCommand": false,       "command": "layacmd",       "args": [      ...

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

44. LAYA2.0 无法编译 什么鬼问题? [ 74%]

...17:46:10] Using gulpfile D:\WorkSpace\ro_new\dev\client\trunk\myLaya\.laya\compile.js [17:46:10] Starting 'compile'...  出错了:  TypeScript error: node_modules/@types/node/index.d.ts(54,22): Error TS6053: File 'node_modules/@types/node/base.d.ts' not found. 附件 : --> 2019-07-24 添加评论 ...

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

45. 调试的时候一直黑屏 [ 74%]

...biao • 2018-03-23 16:26 请问启动类要怎么设置,我已经把<compile path="src\LayaSample.as" />改为<compile path="src\HelloLayabox.as" />,但是运行的时候还是启动LayaSample.as Monica • 2018-03-23 17:11 @liruibiao:改完之后把index.html删...

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

46. layaair2-cmd无法编译 [ 73%]

...cmd无法编译 新创建的项目使用layaair2-cmd执行  layaair2-cmd compile报错   [15:46:08] Starting 'compile'... stderr: events.js:167       throw er; // Unhandled 'error' event       ^ SyntaxError: 'import' and 'export' may appear only with 'sourceType: module' exit:1   但是...

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

47. 新创建2D空项目工程(TS) 编译出错 [ 73%]

..._beta\resources\app [15:26:11] Using gulpfile D:\workshop\Laya\Test5\.laya\compile.js [15:26:11] Starting 'compile'...  出错了: TypeScript error: ../node_modules/@types/node/index.d.ts(37,22): Error TS6053: File '../node_modules/@types/node/inspector.d.ts' not found.  这是新创建的项目 ...

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

48. 【经验分享】如何让ts项目支持装饰器语法,以及自动化发布相关的一些东西 [ 73%]

...语法,首先要配置 tsconfig.json, 让其支持装饰器语法:{ "compilerOptions": { ...其他配置, "experimentalDecorators": true, //启用装饰器语法 }, } 但修改完配置编译的时候会报错:This syntax requires an imported helper but module 'tslib' cannot be found 开发群...

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

49. 构建报错,TypeScript error: node_modules/@types/node/base.d.ts' not found. [ 73%]

.../Resources/app [15:34:09] Using gulpfile ~/Git/WorkProject/StackBall/.laya/compile.js [15:34:09] Starting 'compile'... 出错了: TypeScript error: ../../../node_modules/@types/node/index.d.ts(58,22): Error TS6053: File '../../../node_modules/@types/node/base.d.ts' not found.       node 版本:...

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

50. vscode 配置 layaair2-cmd [ 73%]

...s 8.17 layaide 2.6.0 安装好layaair2-cmd 后,执行命令layaair2-cmd compile 第一次: 直接打包提示本地不存在gulp, 之前已经在全局安装过gulp,然后又在本地安装一次,见红框2安装成功后,再次执行compile  又提示gulp的固定版本问题,接下...

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