大约有 614 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0073 秒)
...Roaming\npm\layaair2-cmd -> C:\Users\Administrator\AppData\Roaming\np m\node_modules\layaair2-cmd\layaair2-cmd.js > core-js@2.6.11 postinstall C:\Users\Administrator\AppData\Roaming\npm\node_modules\layaair2-cmd\no de_modules\core-js > node -e "try{require('./postinstall')}catch(e){}" Thank...
来源: Laya_社区 发布时间: 20200211
...rIDE3]layaairIde 在mac系统中运行没有界面。mac 版本 10.15.7 ,node 20.11.1,npm 10.2.4, /Applications/LayaAirIDE.app/Contents/MacOS/LayaAirIDE dyld: lazy symbol binding failed: Symbol not found: _pthread_jit_write_protect_supported_np Referenced from: /Applications/LayaAirIDE.app/Cont...
来源: Laya_社区 发布时间: 20240318
...emp = Laya.Loader.getRes(url); console.log(picTemp.width) // undefined let nodee = new Laya.Sprite() nodee.texture = picTemp nodee.width = 500 nodee.height = 250 nodee.x = 100 nodee.y = 350 Laya.stage.addChild(nodee) }));上面这个图片无法正常显示,打印 texture 的宽是 undefined,如...
来源: Laya_社区 发布时间: 20211026
destroy节点后,报错 /* 从舞台移除模型对象 @param node 节点 */ base_remove(node){ if(node.numChildren<=0)return; console.log('移除',node.name); let obj; for(let i=node.numChildren-1;i>=0;i--){ obj= node.getChildAt(i); obj.destroy(); } } 或者 /* 从舞台移除模型对...
来源: Laya_社区 发布时间: 20191119
...击发布一直没结果的问题,可以看看你的电脑上是否装了node环境,发布工具依赖于node环境 2018-05-10 0 3 分享 微博 QZONE 微信 一点一滴 赞同来自: 你检查下你电脑的node环境,是不是电脑里庄了其他的环境自带了node,可能node的版本...
来源: Laya_社区 发布时间: 20180509
...对路劲,就报其他的路径找不到。 出错了: TypeScript error: node_modules/@types/node/index.d.ts(50,22): Error TS6053: File 'node_modules/@types/node/base.d.ts' not found. 请问要怎么设置,怎么放各种文件,才能把这个node_modules下的第三方库protobufjs在La...
来源: Laya_社区 发布时间: 20190227
...cmd出错!怎么都装不上去! C:\Users\itadmin3\AppData\Roaming\npm\node_modules>npm install layacmd -g npm WARN ELOOP: too many symbolic links encountered, lstat 'C:\Users\itadmin3\Ap pData\Roaming\npm\node_modules\layacmd\node_modules\@types\node' npm ERR! path C:\Users\itadmin3\AppData\...
来源: Laya_社区 发布时间: 20171027
在laya中如何使用node.js呢? 如题所述。 现在由于想通过node.js获取硬盘上某一文件的路径,如何在laya中调用node.js啊? 2018-10-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回...
来源: Laya_社区 发布时间: 20181011
[0]layaair2-cmd 编译bug Working directory changed to /usr/local/lib/node_modules/layaair2-cmd fs.js:27 const { Math, Object } = primordials; ^ ReferenceError: primordials is not defined at fs.js:27:26 at req_ (/usr/local/lib/node_modules/layaair2-...
来源: Laya_社区 发布时间: 20210420
...代码编译失败,提示“Property 'transform' does not exist on type 'Node'” 我从unity工程导出prefab到layaair中使用,根据文档中的介绍,使用如下代码加载prefab资源, Laya.Sprite3D.load("res/prefabs/Conventional/SampleScene.lh", Laya.Handler.create(...
来源: Laya_社区 发布时间: 20211009