egret-labs / egret-core

Egret is a brand new open mobile game and application engine which allows you to quickly build mobile games and apps on Android,iOS and Windows.
http://www.egret.com
Other
3.91k stars 795 forks source link

仅支持 build,publish 命令 #414

Open lishichao1002 opened 3 years ago

lishichao1002 commented 3 years ago

新建的项目就跑不起来

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.

image

image

lishichao1002 commented 3 years ago

image

supportCommands数组中,增加"run", "clean", "upgrade", "help", "info"命令后就好了,为啥默认没有这些命令呢?

baabaaox commented 3 years ago

@lishichao1002 为了防止你在桌面环境用命令行啊,小傻瓜,嘻嘻

guohongshen commented 2 years ago

你那个setup是在哪里找的,我找了半天都没找见

ajneok commented 2 years ago

我也沒找到 嘻嘻

a22aaass commented 2 years ago

什么事吖

nesschenes commented 2 years ago

小傻瓜,可是我有找到欸 嘻嘻