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

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

51. 改变不了请求消息头,已近设置了 [ 72%]

.../let answers={"answers":core.CommonData.DaTi,"examUuid":network.HttpHelper.compile(core.CommonData.Uuid),"openId":network.HttpHelper.compile(core.CommonData.Uuid)} var xhr: Laya.HttpRequest = new Laya.HttpRequest(); xhr.http.headers=headers 2018-02-08 添加评论 免费帖 --> 分享 微博 QZONE ...

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

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

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

53. layaair2-cmd 运行报错,求助 [ 71%]

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

54. layaair2-cmd无法编译 [ 71%]

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

55. 如何使用VSCODE开发LAYA项目 [ 71%]

...: 3893 关注: 4 人 A • 2019-07-01 18:33 编译我通过 layaair2-cmd compile实现的暂时没别的好办法 虽然知道它是通过compile.js编译不过不知道咋弄过去 fftidus • 2019-09-18 09:22 @A:现在有办法在vscode编译吗? 侃掰掰 • 2018-07-31 16:25 尝试加载自己...

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

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

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

57. laya ide2.0 如何用命令行导出ui [ 70%]

...ersion number   -h, --help     output usage information   Commands:   compile        compile project.   publish        publish project.   help [cmd]     display help for [cmd] 并没有相关命令 2019-04-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

58. 新建Laya2D空项目(TS),编译出错! [ 70%]

..._beta\resources\app [15:32:44] Using gulpfile D:\workshop\Laya\Test5\.laya\compile.js [15:32:44] 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

59. IDE报错,不知道什么鬼问题 [ 70%]

...a\resources\app [10:19:47] Using gulpfile ~\Documents\myLaya\Test2.0\.laya\compile.js [10:19:47] Starting 'compile'... 出错了: TypeScript error: ../../../node_modules/@types/node/index.d.ts(53,22): Error TS6053: File '../../../node_modules/@types/node/base.d.ts' not found. 2.0的又报这个,...

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

60. 2.1以后的IDE版本如何开启F5调试(TypeScript-IDE篇(TS)-代码模式基础) [ 70%]

...e模式TS项目(实验版 )如何开启F5调试 #### 1、修改 `.laya/compile.js` 找到`sourceMap: false` 修改为 `sourcemap: true` 一共有两个`sourcemap`的地方,都要修改设置为`true` 。 #### 2、修改 `.laya/launch.json` 找到`"sourceMaps": false,` 修改为 `"sourceMaps": ...

来源: Laya2.0_文档 发布时间: 20210714