Startup error: Could not execute entrypoint stage 'preLaunch' due to errors, ...
Mod crashes directly after startup. Fresh installation. Minecraft: 1.21.4 Fabric Loader: 0.16.9 mclo.gs: https://mclo.gs/K5RaKVC Mods: cicada-lib-0.10.2+1.21.4-and-above.jar cloth-config-17.0.144-fabric.jar fabric-api-0.114.0+1.21.4.jar shared-resources-1.9.2+1.21.4.jar
[16:38:40] [main/INFO]: Loading Minecraft 1.21.4 with Fabric Loader 0.16.9 [16:38:40] [main/INFO]: Loading 57 mods: - cicada 0.10.2+1.21.4-and-above - cloth-config 17.0.144 \-- cloth-basic-math 0.6.1 - fabric-api 0.114.0+1.21.4 |-- fabric-api-base 0.4.54+b47eab6b04 |-- fabric-api-lookup-api-v1 1.6.86+b1caf1e904 |-- fabric-biome-api-v1 15.0.6+b1c29d8e04 |-- fabric-block-api-v1 1.0.31+7feeb73304 |-- fabric-block-view-api-v2 1.0.19+7feeb73304 |-- fabric-blockrenderlayer-v1 2.0.8+7feeb73304 |-- fabric-client-tags-api-v1 1.1.29+20ea1e2304 |-- fabric-command-api-v1 1.2.62+f71b366f04 |-- fabric-command-api-v2 2.2.41+e496eb1504 |-- fabric-commands-v0 0.2.79+df3654b304 |-- fabric-content-registries-v0 9.1.14+7feeb73304 |-- fabric-convention-tags-v1 2.1.11+7f945d5b04 |-- fabric-convention-tags-v2 2.10.1+e7d3c6e504 |-- fabric-crash-report-info-v1 0.3.6+7feeb73304 |-- fabric-data-attachment-api-v1 1.4.6+9aea556b04 |-- fabric-data-generation-api-v1 22.2.4+20ea1e2304 |-- fabric-dimensions-v1 4.0.10+7feeb73304 |-- fabric-entity-events-v1 2.0.12+60fccc7604 |-- fabric-events-interaction-v0 4.0.2+a4eebcf004 |-- fabric-game-rule-api-v1 1.0.62+7feeb73304 |-- fabric-item-api-v1 11.1.14+203e6b2304 |-- fabric-item-group-api-v1 4.1.23+7feeb73304 |-- fabric-key-binding-api-v1 1.0.56+7feeb73304 |-- fabric-keybindings-v0 0.2.54+df3654b304 |-- fabric-lifecycle-events-v1 2.5.4+bf2a60eb04 |-- fabric-loot-api-v2 3.0.33+3f89f5a504 |-- fabric-loot-api-v3 1.0.21+203e6b2304 |-- fabric-message-api-v1 6.0.25+7feeb73304 |-- fabric-model-loading-api-v1 4.2.0+8ca2ae8d04 |-- fabric-networking-api-v1 4.3.9+f371ccb904 |-- fabric-object-builder-api-v1 18.0.8+d70d2c0604 |-- fabric-particles-v1 4.0.14+7feeb73304 |-- fabric-recipe-api-v1 8.0.6+9ceeb58c04 |-- fabric-registry-sync-v0 6.1.3+e7d3c6e504 |-- fabric-renderer-api-v1 5.0.2+84404cdd04 |-- fabric-renderer-indigo 2.0.2+84404cdd04 |-- fabric-rendering-data-attachment-v1 0.3.57+73761d2e04 |-- fabric-rendering-fluids-v1 3.1.19+7feeb73304 |-- fabric-rendering-v1 10.1.2+b874120c04 |-- fabric-resource-conditions-api-v1 5.0.13+203e6b2304 |-- fabric-resource-loader-v0 3.0.11+b1caf1e904 |-- fabric-screen-api-v1 2.0.38+7feeb73304 |-- fabric-screen-handler-api-v1 1.3.110+7feeb73304 |-- fabric-sound-api-v1 1.0.32+7feeb73304 |-- fabric-tag-api-v1 1.0.2+20ea1e2304 |-- fabric-transfer-api-v1 5.4.9+efa825c904 \-- fabric-transitive-access-wideners-v1 6.3.2+56e78b9b04 - fabricloader 0.16.9 \-- mixinextras 0.4.1 - java 21 - minecraft 1.21.4 - shared-resources 1.9.2+1.21.4 \-- shared-resources-api 1.9.2 [16:38:40] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.7 Source=file:/C:/Users/{COMPUTER_USERNAME}/AppData/Roaming/ModrinthApp/meta/libraries/net/fabricmc/sponge-mixin/0.15.4+mixin.0.8.7/sponge-mixin-0.15.4+mixin.0.8.7.jar Service=Knot/Fabric Env=CLIENT [16:38:40] [main/INFO]: Compatibility level set to JAVA_17 [16:38:40] [main/INFO]: Compatibility level set to JAVA_21 [16:38:41] [main/ERROR]: A mod crashed on startup! net.fabricmc.loader.impl.FormattedException: java.lang.RuntimeException: Could not execute entrypoint stage 'preLaunch' due to errors, provided by 'shared-resources' at 'nl.enjarai.shared_resources.SharedResourcesPreLaunch'! at net.fabricmc.loader.impl.FormattedException.ofLocalized(FormattedException.java:63) ~[fabric-loader-0.16.9.jar:?] at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:162) ~[fabric-loader-0.16.9.jar:?] at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:68) [fabric-loader-0.16.9.jar:?] at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) [fabric-loader-0.16.9.jar:?] Caused by: java.lang.RuntimeException: Could not execute entrypoint stage 'preLaunch' due to errors, provided by 'shared-resources' at 'nl.enjarai.shared_resources.SharedResourcesPreLaunch'! at net.fabricmc.loader.impl.FabricLoaderImpl.lambda$invokeEntrypoints$2(FabricLoaderImpl.java:403) ~[fabric-loader-0.16.9.jar:?] at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33) ~[fabric-loader-0.16.9.jar:?] at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:401) ~[fabric-loader-0.16.9.jar:?] at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:160) ~[fabric-loader-0.16.9.jar:?] ... 2 more Caused by: java.lang.NoSuchMethodError: 'nl.enjarai.shared_resources.api.ResourceDirectoryBuilder nl.enjarai.shared_resources.api.ResourceDirectoryBuilder.setDisplayName(net.minecraft.class_2561)' at knot/nl.enjarai.shared_resources.registry.GameResources.<clinit>(GameResources.java:13) ~[shared-resources-1.9.2+1.21.4.jar:?] at knot/nl.enjarai.shared_resources.config.SharedResourcesConfig.<clinit>(SharedResourcesConfig.java:46) ~[shared-resources-1.9.2+1.21.4.jar:?] at knot/nl.enjarai.shared_resources.SharedResourcesPreLaunch.onPreLaunch(SharedResourcesPreLaunch.java:34) ~[shared-resources-1.9.2+1.21.4.jar:?] at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:399) ~[fabric-loader-0.16.9.jar:?] at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:160) ~[fabric-loader-0.16.9.jar:?] ... 2 more
That's all i have. What can I do to make it work?
I can confirm this crash happening on 1.21.4 having the minimal requirements for Shared Resources to run.
Same issue here... I wonder how this issue got past the developer's testing before releasing the newest version of the mod (Currently 1.9.2+1.21.4)
I tried to change the dependency versions a little, but with no luck
We might have to find an laternative mod for now https://github.com/enjarai/shared-resources/issues/52
If you've found a decent alternative, let me know.
+1
Confirming same issue. Can't play without this mod =(
Unfortunately still occuring.
Тоже самое, что и выше Prelaunch ((( Не работает...Очень жаль.
I had the same issue, so i decided to tackle it myself and created a bat script. I suck at coding very much, so i did have chatGPT lay the groundworks, which is why it might have a bunch of bugs, but it works as far as I know. It makes symlinks in your profiles (the targets) which link to one main folder (the master) with the data you want to share, so it will not matter on what minecraft version you play.
Here is the download link if you want to try it yourself: https://www.mediafire.com/file/wd92q02tdmt8w0x/Minelink.bat/file If you have any questions or bugs, pleas contact me through reddit: u/Nobiston