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

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

1. VScode指令编译出错 [ 100%]

VScode指令编译出错 layaair2-cmd compile 提示rpt2: config error TS18003: No inputs were found in config file 'tsconfig.json'. Specified 'include' paths were '["**/*"]' and 'exclude' paths were '[]'. 附件 : --> FrameWork2_0.zip 2020-01-13 添加评论 免费帖 --> 分享 微博 QZONE 微...

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

2. 如何使用vscode编译laya项目 [ 87%]

...}2、修改typescript编译配置 typescript({ cacheRoot:workSpaceDir + "/.rpt2_cache", tsconfig:workSpaceDir + "/tsconfig.json", check: true, //Set to false to avoid doing any diagnostic checks on the code tsconfigOverride:{compilerOptions:{removeComments: true}}, include:/.*.ts/, }),3、compile.js...

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

3. Laya 2.2.0 只支持编译 target 为 es6的相关问题 [ 86%]

...        "node_modules",         ".laya",         ".rpt2_cache"     ]   平台:微信小游戏  es6中的 async/await 编译 es6时会被翻译成 yield 和 function*() 的实现方式 yield function*() 导致真机黑屏,开发者工具没问题。 laya2.2.0 只支...

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

4. ide 2.4 layaair2-cmd 编译报错 [ 79%]

.../Documents/GameTowertest/.laya/compile.js [14:22:35] Starting 'compile'... rpt2: config error TS18003: No inputs were found in config file 'tsconfig.json'. Specified 'include' paths were '["**/*"]' and 'exclude' paths were '[]'. [14:22:35] 'compile' errored after 286 ms [14:22:35] Error: Unexpected ...

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

5. mac laya 2.5beta ts示例工程 tsconfig.json tartget 改成es5 编译报错 [ 73%]

...k/src/script/Bullet.ts', hook: 'transform', code: 'PLUGIN_ERROR', plugin: 'rpt2' }   node版本:v8.17.0 tsc版本:Version 3.9.0 附件 : --> Tank.zip 2020-03-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 ...

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

6. 加载prefab的代码编译失败,提示“Property 'transform' does not exist on type 'Node'” [ 72%]

...0/src/script/GameUI.ts', hook: 'transform', code: 'PLUGIN_ERROR', plugin: 'rpt2' } [23:43:31] Finished 'compile' after 1.38 s 附件中是导出资源的unity工程,导出的资源位于“Exports”目录下 附件 : --> UnityTest3.rar 2021-10-09 添加评论 免费帖 --> 分享 微博 QZONE 微...

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