-
-
Notifications
You must be signed in to change notification settings - Fork 27k
[3,3.0] Unable to open browsers on WSL #8081
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I also am getting this with WSL. |
Also experiencing this on WSL2. Windows 10 version 2004 build 19033.1 (Insider Slow Ring) |
Same here: WSL2 on
|
I can make a PR when they fix it in |
I'm having the same issue. I am assuming everyone having this issue has to do with Windows SubSystems or installing Bash terminal on Windows 10 and then trying to run react. I personally have not tried running any other server. There is an open issue related to one of react's dependencies for opening URL in the browser. #154 |
I'm also experiencing this issue. |
It is a bug with "react-scripts': "3.3.0". |
You're a savior man. Thank you. I was struggling with this issue for last few weeks and had no idea the solution was this simple. It worked 👍👍 |
Same here. Just use npx create-react-app and the message windows "cannot find '\http://localhost:300\' create react app wsl" just pop's up |
Getting this too :( |
I have same bug :c |
I dont have access to a windows machine for a while. Anyone who can open a PR to |
For those like myself who have ejected, you can modify your package.json to downgrade the react-dev-utils package to v9.1.0. Change Worked for me. |
This is a bug with the latest update of react-scripts Workaround: That really worked for me. WSL1 tho, don't know about WSL2, but probably the same will help |
@InveterateCoder do you know of if there would be an implications that this undoes or breaks? If you're pretty positive about it as a solution though, please create a PR! |
Why not downgrade |
@vince1995 its ok to make a PR, tag this issue and me. |
Workaround:
(This will disable trying to open a browser altogether though) |
I was running fine on "react-scripts': "3.3.0" in WSL, until I installed react-app-polyfill. I now get the error above. |
Describe the bug
Open v7 has a bug on Windows and WSL. Given that many CRA user could be on Windows + WSL, I guess this is going to hit a lot of people soon.
sindresorhus/open#154
Related PR #7910 cc @andriijas as the one who sent PR to upgrade
open
from v6 to v7.Did you try recovering your dependencies?
yes
Environment
OS: Linux 4.4
Node: 12.2.0
Yarn: 1.12.3
npm: 6.9.0
Watchman: 4.9.0
Xcode: N/A
I'm on WSL 1 though
Steps to reproduce
Only in windows/ WSL ecosystem
Expected behavior
No error
Actual behavior
Reproducible demo
The text was updated successfully, but these errors were encountered: