react脚手架yarn start 和npm start都不能自动打开浏览器页面

"dependencies": {
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-scripts": "4.0.1",
"web-vitals": "^0.2.4"
}

我尝试过卸载重新安装create-react-app但还是不行,终端显示正常,但是就是不会自动打开浏览器

终端显示如下:
You can now view myreact in the browser.

Local: http://localhost:8082
On Your Network: http://192.168.15.1:8082
Note that the development build is not optimized.
To create a production build, use yarn build.

前端小菜请求解答### 问题描述

问题出现的平台版本及自己尝试过哪些方法

相关代码

粘贴代码文本(请勿用截图)

你期待的结果是什么?实际看到的错误信息又是什么?

阅读 4.4k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题