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

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

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

ide2.6.0beta编译报错:This syntax requires an imported helper but module 'tslib' cannot be found 环境win10 layaboxide 2.6.0 beta 已经全局安装typescript,命令行 tsc -v,输出Version 3.8.3 nodejs 12.16.1 编译报错: semantic error TS2354: [31mThis syntax requires an imported he...

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

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

...现提示缺少tslib错误 错误提示:This 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-...

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

3. bundle.js 没有更新新提交的代码 [ 62%]

... 赞同来自: 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  2020-02-12 0 0 分享 微博 QZONE 微信 小智队长 ...

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

4. the server responded with a status of 404 (Not Found) [ 61%]

...ts' not found. ide2.6.0beta编译报错:This syntax requires an imported helper but module 'tslib' cannot be found Swift中接入其他都正常,但是在你们的conchConfig中,报错'string' file not found fatal error: 'string' file not found 2.0动效模板,报错 can not found class ui.s...

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

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

...t/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 (/Applications/LayaAirIDE_beta.app/Contents/Resources/a...

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

6. ts 中能使用 装饰器吗 [ 58%]

...个回复 快雪时晴 赞同来自: flys 可以的 tscongfig.json中noEmitHelpers=false 另外如果你用的 layaair版本在2.4及以上 需要自己安装 tslib npm install --save tslib 2020-03-09 1 3 分享 微博 QZONE 微信 flys 赞同来自: 有大佬安装过 tslib 吗?我实在是...

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

7. 2.3.0beta 各种bug [ 48%]

...wait xxxx }会报这个错误 TS2354: [31mThis syntax requires an imported helper but module 'tslib' cannot be found.   一、万年没修成功过的自定义导出类 自动添加Laya前缀问题 二、切换类库依旧报错 三、拖尾依然没提供重置方法,带拖尾的特效非得...

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

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

...修改完配置编译的时候会报错:This syntax requires an imported helper but module 'tslib' cannot be found 开发群里有大神提供了一种解决办法: 右键 LayaAirIDE.app->显示包内容,定位到 Contents->Resources->app->node_modules->rollup->dist->roll...

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