Minecraft is still one of the most popular games on the planet, but it's far from perfect. Sometimes the game will crash with the "Exit Code 1" error, leaving it in an unplayable state. Fortunately, it's a common issue, and we will show you how to fix it in no time.
One of the main reasons you're running into the Exit Code 1 error on Minecraft is because your mod version doesn't match the Minecraft version installed on your computer. All of the mods you're using should be the same as the version of Minecraft you're using.
For example, if you have Minecraft version 1.20.6 installed on your computer and you have a mod made for version 1.19.4, you might see the error. In this case, you'll need to manually update the outdated mod to its latest version.
To do this, you'll first need to check the Minecraft version installed on your computer. Open Minecraft, click the "Installations" tab, and check the "Latest Release" entry to see your Minecraft version.
Next, open the Run dialogue box by pressing the Windows+R shortcut key, type %appdata% in the search field, and click "OK."
In the Roaming folder that opens up, navigate to .Minecraft > Mods.
In the mods folder, go through the names of all the mods and check the version number. If you find a mod with a different version number than the Minecraft version installed on your computer, it's probably the culprit behind the error.
You'll need to replace that mod with its latest version to fix the problem. For this, take note of the name of that mod, and then visit the CurseForge website. Type the name of that mod and hit the search icon.
Choose the relevant mod from the result that appears. Switch to the "Files" tab. You'll see different versions of that mod. You need to click on that version which corresponds with the version of Minecraft you're using.
Click the "Download" button.
After that, replace the new downloaded mod with the old problematic version, which is present in
Read more on howtogeek.com