/usr/local/lib/node_modules/layaair2-cmd/package.json
原来的3.几改为
"gulp": "^4.0.2",
在次编译出
layaair2-cmd compile
[14:22:34]
Working directory changed to ~/h5work/cq3/cq3/.laya
[14:22:35] Using gulpfile ~/h5work/cq3/cq3/.laya/compile.js
[14:22:35]
Task never defined: compile
[14:22:35] To list available tasks, try running: gulp --tasks
exit:1
应该为解决