question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[3,3.0] Unable to open browsers on WSL

See original GitHub issue

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. 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

  1. Upgrade any CRA project to 3.3.0
  2. Run development server

Expected behavior

No error

Actual behavior

image

Reproducible demo

  1. git clone https://github.com/endiliey/rengorum.git
  2. cd frontend && yarn && yarn start

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:52
  • Comments:22 (4 by maintainers)

github_iconTop GitHub Comments

14reactions
InveterateCodercommented, Jan 4, 2020

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.

9reactions
ramirazacommented, Jan 5, 2020

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 👍👍

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found