Mac上的Brave on Brave on Brave decreat React项目无法启动浏览器:错误
启动。JSON如下:
{
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:3000",
"webRoot": "${workspaceFolder}",
"runtimeExecutable": "/Applications/Brave Browser Dev.app/Contents/MacOS/Brave Browser Dev"
}
]
}
错误是:
无法启动浏览器:“无法找到Chrome版本/applications/Brave Browser dev.app.app/contents/macos/brave浏览器开发。 “在您的启动中。
launch.json is as follows:
{
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:3000",
"webRoot": "${workspaceFolder}",
"runtimeExecutable": "/Applications/Brave Browser Dev.app/Contents/MacOS/Brave Browser Dev"
}
]
}
and the error is:
Unable to launch browser: "Unable to find Chrome version /Applications/Brave Browser Dev.app/Contents/MacOS/Brave Browser Dev. Available auto-discovered versions are: ["stable"]. You can set the "runtimeExecutable" in your launch.json to one of these, or provide an absolute path to the browser executable."
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论