[]macOS系统运行layaair-cmd resourceVersion报错
环境:macOS 10.13.4
版本:layaair-cmd resourceVersion 2.2.5
运行layaair-cmd resourceVersion -i ./src/res -o ./src -n 1000 报错,错误如下:
internal/child_process.js:323
throw errnoException(err, 'spawn');
^
Error: spawn EACCES
at _errnoException (util.js:1022:11)
at ChildProcess.spawn (internal/child_process.js:323:11)
at exports.spawn (child_process.js:502:9)
at Object.<anonymous> (/usr/local/lib/node_modules/layaair-cmd/layaair-cmd-resourceVersion.js:60:10)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
请问这个怎么解决,谢谢。
版本:layaair-cmd resourceVersion 2.2.5
运行layaair-cmd resourceVersion -i ./src/res -o ./src -n 1000 报错,错误如下:
internal/child_process.js:323
throw errnoException(err, 'spawn');
^
Error: spawn EACCES
at _errnoException (util.js:1022:11)
at ChildProcess.spawn (internal/child_process.js:323:11)
at exports.spawn (child_process.js:502:9)
at Object.<anonymous> (/usr/local/lib/node_modules/layaair-cmd/layaair-cmd-resourceVersion.js:60:10)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
请问这个怎么解决,谢谢。
没有找到相关结果
已邀请:
1 个回复
Aar0n
赞同来自:
默认是/usr/local/lib/node_modules/layaair-cmd/tools/resource-manager/web-resource-manager 把这个文件设置成可执行。