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.

"Could not find valid game provider!"

See original GitHub issue

I’m trying to make a fabric mod (for the first time, mind you) in VSCode, and every time I try to launch Minecraft, it says that FabricLoader could not find valid game provider. And I have not been able to find help! [20:24:33] [main/ERROR] (FabricLoader) Could not find valid game provider! [20:24:33] [main/ERROR] (FabricLoader) - Minecraft Exception in thread "main" java.lang.RuntimeException: Could not find valid game provider! at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:96) at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:28) at net.fabricmc.devlaunchinjector.Main.main(Main.java:86) (Minecraft: 1.17 Yarn Mappings: 1.17+build.5 Loader: 0.11.3 Fabric: 0.34.9+1.17)

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:20 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
tyleraharrisoncommented, Jun 17, 2021

I was able to fix it by deleting the .gradle folder and running it with --refresh-dependencies. Oddly enough, the VS Code json file and the debug menu was able to launch the game just fine. Weird. Was able to fork one of my favorite mods and update it to 1.17 👍

1reaction
sfPlayer1commented, Jun 16, 2021

It likely doesn’t supply a MC jar at all or an empty one, running gradle with --refresh-dependencies may help.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Could not find valid game provider! : r/fabricmc - Reddit
One of your mods is incompatible with your MC version · You messed up something in the config files · Try running gradlew...
Read more >
Could not find valid game provider! · Issue #246 - GitHub
I was trying to make a fabric mod in Intellij IDEA using EarthComputer's Minecraft Development plugin, but every time i try to launch...
Read more >
Fabric API - Mods - Minecraft - CurseForge
Fabric's APIs are lightweight and modular, making porting faster and game instances leaner. ... Could not find required mod: fabric requires {java @...
Read more >
net.fabricmc.loader.FabricLoader.setGameProvider() Example
getGameName() + " " + provider.getRawGameVersion()); } else { LOGGER.error("Could not find valid game provider!"); for (GameProvider p : providers) ...
Read more >
Unreal Game Sync Troubleshooting
Cannot detect Precompiled Binaries. · Cannot connect. · Failed sync or build due to too-long path. · UGS will not auto-update · Random...
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