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

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

21. 编译时报错 [ 86%]

...5\resources\app   [16:24:15] Using gulpfile D:\workspace\Test_2_5_1\.laya\compile.js   [16:24:15] Starting 'layacompile'...   [16:24:16] Finished 'layacompile' after 634 ms   [16:24:16] Starting 'compile'...   [16:24:16] 'compile' errored after 23 ms [16:24:16] Error: Invalid number at error (D...

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

22. webstorm能编译ts代码到bundle.js 里面吗 [ 86%]

..."/usr/local/lib/node_modules/"然后 我们 在 .laya 文件夹下 找到 compile.js 然我们自己在这个目录下 新建一个 文件 名字是 ”gulpfile.js“ 我们把 compile.js 内容 复制到 新建的文件里 下面是我修改后的文件 // v1.0.0 //是否使用IDE自带的node环...

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

23. prop 识别不到 [ 85%]

...ayaAirIDE\resources\app   [15:26:35] Using gulpfile E:\myLaya\demo2\.laya\compile.js   [15:26:35] Starting 'compile'...   [15:26:38] 'compile' errored 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...

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

24. native 1.0.2 连不上wss [ 83%]

...7 NOTICE: Libwebsockets version: 2.3.0 layabox_mac@localhost- NOTICE: IPV6 compiled in and enabled NOTICE: libev support not compiled in NOTICE: libuv support not compiled in NOTICE: Threads: 1 each 2560 fds NOTICE: mem: platform fd map: 20480 bytes NOTICE: Compiled with OpenSSL support NOTICE: Doin...

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

25. Laya2.6 vscode 编译错误 [ 83%]

...sion: 2.2.0 Local version: 4.0.2 在终端输入编译指令 layaair2-cmd compile,报错: [16:31:30] Working directory changed to E:\work\svn\layacore\code\TestLive2d\.laya [16:31:31] Using gulpfile E:\work\svn\layacore\code\TestLive2d\.laya\compile.js   C:\Users\Administrator\AppData\Roaming\...

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

26. VSCODE高效再+1,自动刷新 [ 83%]

... = require("child_process"); //源码 const entry = 'src/**/*.*'; function compile() { //执行编译命令 layaair2-cmd compile let process = exec("layaair2-cmd compile"); process.stdout.on("data", (data) => { console.log(data); }); process.stderr.on("data", (data) => { console.error(data); }...

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

27. [0]layaair2-cmd 编译bug [ 82%]

...modules/layaair2-cmd/node_modules/graceful-fs/fs.js:1:37)     at Module._compile (internal/modules/cjs/loader.js:956:30)     at Object.Module._extensions..js (internal/modules/cjs/loader.js:973:10)     at Module.load (internal/modules/cjs/loader.js:812:32)     at Function.Module._load (inter...

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

28. 昨天一开始运行好好的,没动别的,运行就开始报错 [ 81%]

...85b': identifier represents a variable, not a function Warning: D3D shader compilation failed with default flags. (ps_5_0)  Retrying with skip validation C:\fakepath(596,34-81): error X3005: '_webgl_42c649225184485b': identifier represents a variable, not a function Warning: D3D shader compilation ...

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

29. 定制启动页 [ 80%]

...“ Opp rpk一启动就黑屏 Native类型下 启动动画如何关闭 ide compile的时候不会启动一个本地服务器吗? LayaNative如何选择通过index.js或是runtime.json启动? 启动ide后有个关于tsc compiler和vs code's language service的提示 问题状态 最新活动: 201...

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

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

...语法,首先要配置 tsconfig.json, 让其支持装饰器语法:{ "compilerOptions": { ...其他配置, "experimentalDecorators": true, //启用装饰器语法 }, } 但修改完配置编译的时候会报错:This syntax requires an imported helper but module 'tslib' cannot be found 开发群...

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