Fabric API

Fabric API

108M Downloads

Project cannot work.

Xing-C opened this issue ยท 1 comments

commented

My project encountered a problem today. I have tried to create a new project, but still prompted this error. I don't have a clue now. Can you help me?

gradle.properties :

# Fabric Properties
	# check these on https://modmuss50.me/fabric.html
	minecraft_version=1.20.1
	yarn_mappings=1.20.1+build.10
	loader_version=0.14.22

# Dependencies
# check this on https://modmuss50.me/fabric.html
fabric_version=0.89.0+1.20.1

Output information of IDEA:

> Configure project :
Fabric Loom: 1.2.7
Found existing cache lock file, rebuilding loom cache. This may have been caused by a failed or canceled build.

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'untitledes'.
> Failed to setup Minecraft, com.fasterxml.jackson.databind.JsonMappingException: Unexpected end-of-input in field name
   at [Source: (String)"{"latest": {"release": "1.20.2", "snapshot": "1.20.2"}, "versions": [{"id": "1.20.2", "type": "release", "url": "https://piston-meta.mojang.com/v1/packages/b994a7ad16326530c7a67e1b700fcd6fb86e1497/1.20.2.json", "time": "2023-09-21T15:00:12+00:00", "releaseTime": "2023-09-20T09:02:57+00:00", "sha1": "b994a7ad16326530c7a67e1b700fcd6fb86e1497", "complianceLevel": 1}, {"id": "1.20.2-rc2", "type": "snapshot", "url": "https://piston-meta.mojang.com/v1/packages/8e1e1a829ceb3ad443af4c33194816979274d782/"[truncated 32268 chars]; line: 1, column: 32769] (through reference chain: net.fabricmc.loom.configuration.providers.minecraft.ManifestVersion["versions"]->java.util.ArrayList[107])

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 96ms
commented

๐Ÿ‘‹ We use the issue tracker exclusively for final bug reports and feature requests. However, this issue appears to be better suited for either a discussion thread, or a message on our discord server. Please post your request on one of these, and the conversation can continue there.