Build Failed - no such version exists
See original GitHub issueHi,
I’ve been using Malmo (0.34) for more than a month now, and suddenly this morning I get a build failed error when I run the launchClient.bat:
FAILURE: Build failed with an exception.
* Where:
Build file 'D:\Malmo\Minecraft\build.gradle' line: 42
* What went wrong:
A problem occurred evaluating root project 'Minecraft'.
> No such version exists!
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 6.225 secs
FAILURE: Build failed with an exception.
* Where:
Build file 'D:\Malmo\Minecraft\build.gradle' line: 42
* What went wrong:
A problem occurred evaluating root project 'Minecraft'.
> No such version exists!
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 4.053 secs
FAILURE: Build failed with an exception.
* Where:
Build file 'D:\Malmo\Minecraft\build.gradle' line: 42
* What went wrong:
A problem occurred evaluating root project 'Minecraft'.
> No such version exists!
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 4.011 secs
I tried on another computer where Malmo was running yesterday and I have the same error. Both my computers are running Windows 10 and have Java 1.8.0_201 installed.
Do you have any idea where that could come from ? Thanks
Issue Analytics
- State:
- Created 5 years ago
- Comments:7
Top Results From Across the Web
Error: ENOENT: no such file or directory index.js.map · Issue #84
I just received the same error for ./node_modules/rxjs/_esm5/index.js which DOES exist. I simply touched the file and then the error went away ...
Read more >Gradle build fail with Cannot run program No such file or ...
Try stopping the gradle daemon with ./gradlew --stop. I had the same problem with something as simple as: commandLine = [ "node", "--version"]....
Read more >Docker build strategy has failed: no such image
Moving this to Test Infrastructure - `no such image` suggests that the requested base image does not exist, or an image layer got...
Read more >Errors – Vercel Docs
A list of errors provided by Vercel CLI or the REST API, with details on how they occur and how to resolve them....
Read more >Troubleshoot EC2/On-Premises deployment issues
Effective October 17, 2016, deployments fail if a version of the CodeDeploy agent ... No such file or directory @ dir_s_mkdir - C:\...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yep! So here is what is up: If your Malmo installation suddenly stopped working one day read this.
People over at MinecraftForge updated a certain file used by the
./launchClient.sh(bat)
script for building (and launching) the Malmo mod that caused a certain dependency (ForgeGradle) to no longer be found. This causes yourlaunchClient
script to fail, without fail.Since then, MinecraftForge has fixed the dependency (ForgeGradle) to no longer rely on this file. However your current instillation is caching and older version of the dependency (ForgeGradle) that your Malmo Mod has been using for months now!
To get it to use the newer non-breaking version you’ll need to get your hands dirty. Run the following in your Malmo’s
/Minecraft
folder.good luck dawgs
Currently the maven repo that Gradle (java package manger) uses for MinecraftForge (the mod of minecraft which decompiles it and lets malmo use deobfuscated game code) is down.
This is not a Malmo issue and it effects the whole Minecraft modding community. This is currently being fixed:
http://www.minecraftforge.net/forum/topic/68782-1122-setupdecompworkspace-no-such-version/
In the mean time, I’ll look into making a gradle script which skips rebuilding each time you run your client.
If you’re desperate to run Malmo rn, one fix that works for our team is the following:
~/.minecraft
, on mac and windows its hidden in some shittyApplicationData
folder or something like this),mods
sub folder (on linux this will be~/.minecraft/mods
),<path to ur malmo repo>/Minecraft/build/libs/MalmoMod-<ur version bro>.jar
) and put it in your<path to ur minecraft folder specified by the launch profile u just made folder>/mods
folder.Now every time u want to use malmo u can launch Minecraft with that launch profile and malmo will automatically load. It should be on port
10000
unless that port is already taken in which it will be10000 + n
where10000 + (n-1)
is taken. After Minecraft is launched you can now run whaterverpython
script or (C++) script u normally do which referencesMalmoPython
(or if ur downstream, maybegym_minecraft
) and it will use the minecraft client u just launched.Hope this helps dawg.
// IJCAI deadline here we come!!!1
Update (Solution): See https://github.com/Microsoft/malmo/issues/795#issuecomment-464209772