Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

仅支持 build,publish 命令 #414

Open
lishichao1002 opened this issue Apr 25, 2021 · 6 comments
Open

仅支持 build,publish 命令 #414

lishichao1002 opened this issue Apr 25, 2021 · 6 comments

Comments

@lishichao1002
Copy link

lishichao1002 commented Apr 25, 2021

新建的项目就跑不起来

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
Copy link
Author

image

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

@baabaaox
Copy link

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

@guohongshen
Copy link

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

@ajneok
Copy link

ajneok commented Mar 16, 2022

我也沒找到 嘻嘻

@a22aaass
Copy link

a22aaass commented Mar 16, 2022 via email

@nesschenes
Copy link

nesschenes commented Mar 16, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants