[3,3.0] Unable to open browsers on WSL
See original GitHub issueDescribe 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. https://github.com/sindresorhus/open/issues/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
- Upgrade any CRA project to 3.3.0
- Run development server
Expected behavior
No error
Actual behavior
Reproducible demo
- git clone https://github.com/endiliey/rengorum.git
- cd frontend && yarn && yarn start
Issue Analytics
- State:
- Created 4 years ago
- Reactions:52
- Comments:22 (4 by maintainers)
Top Results From Across the Web
bash - Open browser in host system from Windows Subsystem ...
First open your browser and open file://wsl.localhost/ and lets just say you want to open Ubuntu-20.04 then you can change that URL to ......
Read more >Troubleshooting Windows Subsystem for Linux | Microsoft Learn
Open Control Panel -> Programs and Features -> Turn Windows Feature on or off -> Check Windows Subsystem for Linux or using the...
Read more >Ubuntu WSL with docker could not be found - Stack Overflow
Open windows shell (maybe as admin), and run: > wsl -t docker-desktop > wsl --shutdown > wsl --unregister docker-desktop.
Read more >WSL | IntelliJ IDEA Documentation - JetBrains
IntelliJ IDEA lets you create and open projects in the WSL file system, run, and debug applications in the WSL environment.
Read more >ScaleFT client with Okta authentication web browser in ...
And especially I love running a WSL (windows subsystem for linux) Ubuntu on my ... for security) Failed to open default browser: webbrowser:...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It is a bug with "react-scripts’: “3.3.0”. Switch to 3.2.0 by editing package.json file then running npm install. Worked for me.
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 👍👍