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

Cannot start server in new window because no terminal app was specified. #784

Closed
news00 opened this issue Dec 30, 2023 · 9 comments
Closed
Labels

Comments

@news00
Copy link

news00 commented Dec 30, 2023

yarn android 提示
error Cannot start server in new window because no terminal app was specified.
error Command failed with exit code 1.


update by @sunnylqm :

已知的bug,待官方发新版本修复

在此之前,请单独开个窗口运行npm run start

@zeng-ge-7
Copy link

你试一下用 npm run start代替yarn android

@xlleng1
Copy link

xlleng1 commented Jan 2, 2024

我也是报的一样的错。。。 npm run start这也不是编译运行Android的啊 有啥意义

@Qiujianwu
Copy link

我也是这个问题,没查到解决方式

@Sunrisies
Copy link

Sunrisies commented Jan 5, 2024

我也遇到这个问题了,可以在最新的网站上面使用上面提供的方法就可以直接运行起来
image
image
image

@sunnylqm
Copy link

sunnylqm commented Jan 6, 2024

已知的bug,待官方修复

在此之前,请单独开个窗口运行npm run start

@sunnylqm sunnylqm changed the title yarn android 提示错误 yarn android 提示Cannot start server in new window because no terminal app was specified. Jan 6, 2024
@sunnylqm sunnylqm pinned this issue Jan 6, 2024
@sunnylqm sunnylqm changed the title yarn android 提示Cannot start server in new window because no terminal app was specified. Cannot start server in new window because no terminal app was specified. Jan 6, 2024
@geniyangge
Copy link

搞了半天呜呜~

@HyrKG
Copy link

HyrKG commented Jan 7, 2024

两种解决方案:

  1. yarn start打开metro,然后按a运行。
  2. yarn start打开metro,然后新开一个窗口运行yarn android

@coder-xiaomo
Copy link

related issue: react-native-community/cli#2219

the bug was fixed in react native 0.73.4

@sunnylqm sunnylqm unpinned this issue Feb 19, 2024
Copy link

👋 Hey there, it looks like there has been no activity on this issue in the last 90 days. Has the issue been fixed, or does it still require the community attention? This issue will be closed in the next 7 days if no further activity occurs. Thank you for your contributions.

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

No branches or pull requests

9 participants