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

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

1. IDE编译时报错,TS2307 [ 100%]

IDE编译时报错,TS2307 引擎版本2.6.0beta  semantic error TS2307: [31mCannot find module './com/sl/game/protocol/xxxxxxx'.[39m 遇到一个编译错误,确认路径是对的,然后vscode也没有报错,就是编译时候不过。怎么搞? 附件 : --> 2020-04-07 添加评论 免...

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

2. bundle.js 没有更新新提交的代码 [ 97%]

...slib' 2020-02-12 0 0 分享 微博 QZONE 微信 小智队长 赞同来自: semantic error TS2354: [31mThis syntax requires an imported helper but module 'tslib' cannot be found.[39m at error (D:\AppInstall_Paht\LayaBoxIDE2.5.0\resources\app\node_modules\rollup\dist\rollup.js:9402:30) at Object.error...

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

3. prop 识别不到 [ 94%]

...d after 2.84 s [15:26:38] Error: E:/myLaya/demo2/src/start/Index.ts(9,36): semantic error TS2339: [31mProperty 'speed' does not exist on type 'Index'.[39m at error (E:\LayaAirIDE\resources\app\node_modules\rollup\dist\rollup.js:9402:30) at Object.error (E:\LayaAirIDE\resources\app\node_modules\rollu...

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

4. ide2.6.0beta编译报错:This syntax requires an imported helper but module 'tslib' cannot be found [ 88%]

...pt,命令行 tsc -v,输出Version 3.8.3 nodejs 12.16.1 编译报错: semantic error TS2354: [31mThis syntax requires an imported helper but module 'tslib' cannot be found   定位到代码中是: let { width, height } = Laya.stage;  mac上却没有问题,win10上却出问题了,...

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

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

.... { Error: /Users/xxxxx/projects/mylaya11/Tank/src/script/Bullet.ts(4,29): semantic error TS2354: This syntax requires an imported helper but module 'tslib' cannot be found. at error (/Applications/LayaAirIDE_beta.app/Contents/Resources/app/node_modules/rollup/dist/rollup.js:9402:30) at Object.error...

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

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

...le'... { Error: D:/Workspace/LayaTest/demo010/src/script/GameUI.ts(50,17): semantic error TS2339: [31mProperty 'transform' does not exist on type 'Node'.[39m at error (D:\Software\Develop\LayaAirIDE\resources\app\node_modules\rollup\dist\rollup.js:9402:30) at Object.error (D:\Software\Develop\LayaAi...

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

7. 使用2.6引擎版本vscode开发不支持async await语法 编译出现提示缺少tslib错误 [ 84%]

...syntax requires an imported helper but module 'tslib' cannot be found    semantic error TS2354: This syntax requires an imported helper but module 'tslib' cannot be found.     at error (D:\Program Files\nodejs\node_global\npm\node_modules\layaair2-cmd\node_modules\rollup\dist\shared\node-entry....

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