更新react-native v73.1后,尝试在Windows中运行该应用程序时出现以下错误。
error Cannot start server in new window because no terminal app was specified.
有人之前遇到过这个问题吗?
在 Mac 机器上没有问题,只有 Windows 面临这个问题
看起来 Metro 已经删除了对 Windows 终端的支持,只允许使用 bash 终端。我必须在 git bash 中启动它一次,并保持 Metro 窗口打开,然后才能在 Windows 终端中启动 React-native。