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

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

1. Typescript tsconfig baseurl 编译报错 [ 100%]

...roject\svn_wjbj\endLess\src' at E:\developer\LayaAirIDE_beta\resources\app\node_modules\browser-resolve\node_modules\resolve\lib\async.js:46:17 at process (E:\developer\LayaAirIDE_beta\resources\app\node_modules\browser-resolve\node_modules\resolve\lib\async.js:173:43) at ondir (E:\developer\LayaAir...

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

2. ide编译报错,显示如下 [ 75%]

...编译报错,显示如下 at error (D:\APP\LayaAirIDE_beta\resources\app\node_modules\rollup\dist\rollup.js:9402:30) at Object.error (D:\APP\LayaAirIDE_beta\resources\app\node_modules\rollup\dist\rollup.js:15621:24) at Object.error (D:\APP\LayaAirIDE_beta\resources\app\node_modules\rollup\dist\rol...

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

3. ide 2.4 layaair2-cmd 编译报错 [ 74%]

...ayaair2-cmd compile [14:22:34] Working directory changed to /usr/local/lib/node_modules/layaair2-cmd [14:22:35] Using gulpfile ~/Documents/GameTowertest/.laya/compile.js [14:22:35] Starting 'compile'... rpt2: config error TS18003: No inputs were found in config file 'tsconfig.json'. Specified 'inclu...

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

4. 编译时报错 [ 74%]

... Error: Invalid number at error (D:\tools\LayaAirIDE_beta2.5\resources\app\node_modules\rollup\dist\rollup.js:9402:30) at Module.error (D:\tools\LayaAirIDE_beta2.5\resources\app\node_modules\rollup\dist\rollup.js:13340:9) at tryParse (D:\tools\LayaAirIDE_beta2.5\resources\app\node_modules\rollup\dis...

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

5. 编译异常 Note that you need plugins to import files that are not JavaScript [ 73%]

... files that are not JavaScript) at error (D:\LayaAirIDE2.3.0\resources\app\node_modules\rollup\dist\rollup.js:9402:30) at Module.error (D:\LayaAirIDE2.3.0\resources\app\node_modules\rollup\dist\rollup.js:13340:9) at tryParse (D:\LayaAirIDE2.3.0\resources\app\node_modules\rollup\dist\rollup.js:13255:...

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

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

...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\LayaAirIDE\resources\app\node_modules\rollup\dist\rollup.js:15621:24) at Object.error (D:\Software\Develop\LayaAirIDE\resources\app\node_modules...

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

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

... 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/app/node_modules/rollup/dist/rollup.js:15621:24) at Object.error (/Applications/LayaAirIDE_beta.app/Contents/Re...

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

8. layaMaxUI.js export ui bug (影响编译) [ 65%]

...8] Error: Export 'ui' is not defined at error (D:\LayaAirIDE\resources\app\node_modules\rollup\dist\rollup.js:9402:30) at Module.error (D:\LayaAirIDE\resources\app\node_modules\rollup\dist\rollup.js:13340:9) at tryParse (D:\LayaAirIDE\resources\app\node_modules\rollup\dist\rollup.js:13255:16) at Mod...

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

9. Laya2.6、2.7等支持async、await编译经验分享 [ 58%]

...s": { "tslib": [ "/Applications/LayaAirIDE_beta.app/Contents/Resources/app/node_modules/tslib/tslib.d.ts", "tslib/tslib.d.ts" ] }, "lib": [ "esnext", "dom", "es2015.promise" ] } } 此时就要考虑转es5了,拿微信小游戏来说,wxgame.json配置里面打开es6toes5"useMinJsLibs": true, "es6...

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

10. Laya2.0编译后所有js都自动合并到bundle.js中,导致bundle.js过大,加载速度很慢,bundle.js可以拆分吗 [ 52%]

...epresents the structure of the project at runtime. */     "typeRoots": ["node_modules/@types"],                       /* List of folders to include type definitions from. */     // "types": [],                           /* Type declaration files to be included in compil...

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