Open Shaunmax opened 1 month ago
Sounds like you have not configure the SDK correctly. The error comes from when the plugin tries to detect and/or set the SDK version info.
Sorry, i didn't look close enough, its an issue reading version from a library, not the SDK. i can make a fix to get around the problem but it would be nice to know why it fails, best guess is that you got a haxelib with a haxelib.json
file that is missing version info
Sorry, i didn't look close enough, its an issue reading version from a library, not the SDK. i can make a fix to get around the problem but it would be nice to know why it fails, best guess is that you got a haxelib with a
haxelib.json
file that is missing version info
I am sorry, I dint get you! are you asking me to check something from my side ?
i can make a fix but it will take some time before i can make a new release, in the mean time if you need to get things working you can check your haxelib libraries and look inside each one and check the files named haxelib.json
, i expect one of them is missing the version value. you can just add a dummy value like "version" : "1.2.3"
to anyone who is missing that line and the plugin should work again
they normally look like this and in your case i think one is missing the "version" line:
{
"name": "box2d",
"url": "http://github.com/jgranick/box2d",
"license": "MIT",
"tags": [ "physics", "flash", "cpp" ],
"description": "Box2D is a tremendously popular physics engine for most platforms.",
"version": "1.2.3",
"releasenote": "Added TestBed sample, better B2ShapeType, platform fixes",
"contributors": [ "singmajesty" ],
"dependencies": {}
}
look inside each one and check the files named
haxelib.json
, i expect one of them is missing the version value.
I just went through all the haxelib.json
files in my system and they all have "version"
in it.
strange.
the stacktrace more or less show the step when the plugin iterate over all libraries to read names, version etc.
it looks like it gets past syncing the overall project but fails when updating library list from each module.
Its about to add a library and create the presentable name string, it looks like getting the name is no issue but the exception complains that the returned value for version is a null value. could you check your module dependencies and see if there is any dependencies that does not look like the rest ?
strange.
the stacktrace more or less show the step when the plugin iterate over all libraries to read names, version etc. it looks like it gets past syncing the overall project but fails when updating library list from each module. Its about to add a library and create the presentable name string, it looks like getting the name is no issue but the exception complains that the returned value for version is a null value. could you check your module dependencies and see if there is any dependencies that does not look like the rest ?
I have 2 libraries in the project:-
open project structures and then modules and then dependencies. I dont think you can see the issue from the main view
open project structures and then modules and then dependencies. I dont think you can see the issue from the main view
that I did earlier
checked all these folders
is this how your module dependencies look like ?
is this how your module dependencies look like ?
Yes!
this is the project I am trying to load : https://github.com/SwazLord/Flappy-Starling-Haxe/tree/main
i did some changes in the latest release that i hope remedies some of this issue, could you update to 1.5.4 and test again ?
i did some changes in the latest release that i hope remedies some of this issue, could you update to 1.5.4 and test again ?
Yes! The error is gone now, but still no code completion
could you try to do a prune caches and then a reload project from the project structure context menu.
prune caches
I tried that, but nothing happened
I get this error every time, open a Haxe project :
I am using IntelliJ IDEA 2023.2.5 (Ultimate Edition) on masOS Sonoma 14.1.1. Haxe Toolkit Version : 1.5.3
Also, there is no code completion for the project