Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在运行 npx 脚本以在 VS Code 集成终端中构建,但 Metro Bundler 在新的 cmd/bash 终端中运行。如何在 VS Code 集成终端中运行?
先关闭所有 Metro 服务器,然后在 VS code 中打开一个新的终端,然后运行命令
npx react-native start
或者
npm start