reactnativecn / react-native-website

React Native 中文网
https://reactnative.cn
MIT License
216 stars 327 forks source link

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

Closed news00 closed 1 month ago

news00 commented 6 months ago

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 commented 6 months ago

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

xlleng1 commented 6 months ago

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

Qiujianwu commented 5 months ago

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

Sunrisies commented 5 months ago

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

sunnylqm commented 5 months ago

已知的bug,待官方修复

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

geniyangge commented 5 months ago

搞了半天呜~呜~呜~

HyrKG commented 5 months ago

两种解决方案:

  1. yarn start打开metro,然后按a运行。
  2. yarn start打开metro,然后新开一个窗口运行yarn android
coder-xiaomo commented 4 months ago

related issue: https://github.com/react-native-community/cli/issues/2219

the bug was fixed in react native 0.73.4

github-actions[bot] commented 1 month ago

👋 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.