fabric-loader: "Could not find valid game provider!"

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)

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 1
  • Comments: 21 (10 by maintainers)

Most upvoted comments

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 👍

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