大约有 116 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0042 秒)
...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
... })); 但是编译时报如下错误: [23:43:30] Starting 'compile'... { 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_mo...
来源: Laya_社区 发布时间: 20211009
...nts/Resources/app [09:09:54] Using gulpfile ~/projects/mylaya11/Tank/.laya/compile.js [09:09:54] Starting 'compile'... { 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 ...
来源: Laya_社区 发布时间: 20200311
...:18] Using gulpfile D:\Users\Administrator\Personal\myLaya2.2\Client\.laya\compile.js [16:39:18] Starting 'tsc'... [16:39:18] Starting 'CopyNoneTSFile'... [16:39:18] Finished 'CopyNoneTSFile' after 169 ms error { Error: Command failed: D:\laya\2.2.0\resources\app\node_modules\.bin\tsc.cmd -b "D:\Use...
来源: Laya_社区 发布时间: 20190730
... layaair2-cmd 编译功能BUG 想问一下官方,这个命令行工具的compile功能,到底和IDE的编译功能差别在哪? 当在IDE里的scene中,对组件操作,设置组件的name(为了在runtime实例中通过getChildByName获取子节点),通常设置完name,如果不用IDE...
来源: Laya_社区 发布时间: 20191127
...烫 2019-10-09 0 0 分享 微博 QZONE 微信 xiaocai 赞同来自: { "compilerOptions": { /* Basic Options */ "target": "es2017", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */ ...
来源: Laya_社区 发布时间: 20190408
...我是这样做的: 1.使用flashDevelop,在项目属性->编译选项(Compiler Options)->编译常量(Compiler Constats),写入 CONFIG::cn,false CONFIG::en,true 如图: 2.在代码中写入 CONFIG::cn{ [Embed(source="ui_cn.swf", mimeType="application/octet-stream")] private ...
来源: Laya_社区 发布时间: 20160323
...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
...作步骤: 1.layaIDE2.3.0创建开放域项目 2.直接点发布按钮(compile.js中代码会发生改变。) 3.然后编译就会如下报错。 Incompatible tsconfig option. Module resolves to 'CommonJS'. This is incompatible with rollup, please use 'module: "ES2015"' or 'module: "ESNext"'. ...
来源: Laya_社区 发布时间: 20191220
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