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

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

1. 加载模块报错 [ 100%]

...node", "lib": [ "dom", "es5" ] }, "exclude": [ // "node_modules" ] }报错 ReferenceError: exports is not defined 生成的js是Object.defineProperty(exports, "__esModule", { value: true }); var Collections = require("typescript-collections"); 刚接触ts,不太清楚怎么加载模块,编译时...

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

2. 全局安装layaair2-cmd报错怎么办啊 [ 99%]

...R! fs.js:47 npm ERR! } = primordials; npm ERR!     ^ npm ERR!  npm ERR! ReferenceError: primordials is not defined npm ERR!     at fs.js:47:5 npm ERR!     at req_ (/usr/local/lib/node_modules/layaair2-cmd/node_modules/natives/index.js:143:24) npm ERR!     at Object.req [as require] (/usr/lo...

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

3. linux系统运行layaair-cmd报错 [ 99%]

.../lib/node_modules/layaair-cmd/layaair-cmd-resourceVersion.js:57 exit(1); ^ ReferenceError: exit is not defined at Object.<anonymous> (/data/node_v8/lib/node_modules/layaair-cmd/layaair-cmd-resourceVersion.js:57:3) at Module._compile (module.js:652:30) at Object.Module._extensions..js (module.j...

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

4. TS版分包报错 [ 92%]

...UI = ui.coreUI.TestUI ;  方式引入类 定义时报错:  "Uncaught ReferenceError: ui is not defined"    请问:我这种分包的方式与导入包的方式有问题吗,为何会报这种错误? 请指教!谢谢! 2017-04-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...

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

5. 2.0.0beta5 can not find class Laya.Text [ 91%]

...nd variable: QQJSBridge LayaIDE2.9.0beta版本打包IOS项目出现报错: ReferenceError: Can't find variable: createProcess Cannot find odule'lib/_stream_transform QQ游戏发布之后,运维后台报错 Can't find variable: QQJSBrid 问题状态 最新活动: 2021-06-28 09:44 浏览: 1633 关...

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

6. 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 [ 87%]

...样的(都改成2.2.2),什么改啊? 我这边一直报“Uncaught ReferenceError: exports is not defined”,项目启动不了 http://stackoverflow.com/quest ... cript,是不是这样的 2017-04-25 0 1 分享 微博 QZONE 微信 zcx582253505 赞同来自: 就是呢,用自带的demo打...

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

7. 1.7.3之后的版本,重复类名出现bug [ 85%]

....3以后都是 有个‘$‘加数字。   console报错输出:Uncaught ReferenceError: StartUpCommand$3 is not defined 查了代码 我在他下面找到了那个命名为 ‘StartUpCommand$3’ 的地方   反正用1.7.2版本编译后是没问题的。现在在纠结。有办法解决么?...

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