[]layacmd在centOS 6.5上运行出错

layacmd publish -o cc -n output
argv: [ '/data/tools/node-v8.9.0-linux-x64/bin/node',
'/data/tools/node-v8.9.0-linux-x64/lib/node_modules/layacmd/ProjectExportTools/LayaAirCmdTool.max.js',
'/data/ebuild/gongdou/gongdouH5/laya/.laya',
'clear=true',
'releasemode=normal',
'exportUICode=true',
'exportRes=true' ]
type: Linux
appPath: /data/tools/node-v8.9.0-linux-x64/lib/node_modules/layacmd/ProjectExportTools/
openProject: /data/ebuild/gongdou/gongdouH5/laya/.laya
loadProject: /data/ebuild/gongdou/gongdouH5/laya/.laya
assetsPath: /data/ebuild/gongdou/gongdouH5/laya/assets
ResStyleManager 读取文件/data/ebuild/gongdou/gongdouH5/laya/styles.xml出错 读取文件出错
PageStyleManager 读取文件/data/ebuild/gongdou/gongdouH5/laya/pageStyles.xml出错 读取文件出错
ExportCode
Export: Components/Header.ui
Export: GameView.ui
Export: LoginDialog.ui
Export: LoginView.ui
Export: MainUI/ActivityEntry.ui
Export: MainUI/Main.ui
Export: MainUI/PlayerInfo.ui
Export: MainUI/SystemEntry.ui
Export: RegisterDialog.ui
Export: TestDialog.ui
Export code complete
picType: 0
newCmd: "/data/tools/node-v8.9.0-linux-x64/lib/node_modules/layacmd/ProjectExportTools/TP/atlas-generator" "/home/sgf_ebuild/LayaAirIDE/packParam.json"
Waiting for pics packing
execute: "/data/tools/node-v8.9.0-linux-x64/lib/node_modules/layacmd/ProjectExportTools/TP/atlas-generator" "/home/sgf_ebuild/LayaAirIDE/packParam.json"
Error Occured: Error: Command failed: "/data/tools/node-v8.9.0-linux-x64/lib/node_modules/layacmd/ProjectExportTools/TP/atlas-generator" "/home/sgf_ebuild/LayaAirIDE/packParam.json"
/bin/sh: /data/tools/node-v8.9.0-linux-x64/lib/node_modules/layacmd/ProjectExportTools/TP/atlas-generator: cannot execute binary file


Packing complete
All Work complete
finish.
tsc -p . --outDir bin/js
internal/child_process.js:323
throw errnoException(err, 'spawn');
^

Error: spawn EACCES
at _errnoException (util.js:1024:11)
at ChildProcess.spawn (internal/child_process.js:323:11)
at exports.spawn (child_process.js:502:9)
at LayaProjectCompiler.compile (/data/tools/node-v8.9.0-linux-x64/lib/node_modules/layacmd/compile_project.js:69:13)
at ChildProcess.compileProject (/data/tools/node-v8.9.0-linux-x64/lib/node_modules/layacmd/layacmd-publish.js:70:5)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
已邀请:

Monica - 知识达人

赞同来自:

不使用合并压缩的命令是否正常呢?

Monica - 知识达人

赞同来自:

附件是去掉依赖库之后的包,你试下吧~

要回复问题请先

商务合作
商务合作