egret-core
egret-core copied to clipboard
仅支持 build,publish 命令
新建的项目就跑不起来
egret-demo02 git:(master) ✗ egret
仅支持 build,publish 命令
(node:31164) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open 'build/egretProperties.json'
(node:31164) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:31164) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
在supportCommands
数组中,增加"run", "clean", "upgrade", "help", "info"
命令后就好了,为啥默认没有这些命令呢?
@lishichao1002 为了防止你在桌面环境用命令行啊,小傻瓜,嘻嘻
你那个setup是在哪里找的,我找了半天都没找见
我也沒找到 嘻嘻
什么事吖
小傻瓜,可是我有找到欸 嘻嘻