We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 190592a commit 177b5ecCopy full SHA for 177b5ec
packages/react-scripts/scripts/start.js
@@ -170,7 +170,11 @@ function openBrowser(port, protocol) {
170
}
171
// Fallback to opn
172
// (It will always open new tab)
173
- opn(protocol + '://localhost:' + port + '/');
+ try {
174
+ opn(protocol + '://localhost:' + port + '/');
175
+ } catch (err) {
176
+ // Ignore errors.
177
+ }
178
179
180
// We need to provide a custom onError function for httpProxyMiddleware.
0 commit comments