HaxeFlixel / flixel

Free, cross-platform 2D game engine powered by Haxe and OpenFL
https://haxeflixel.com/
MIT License
1.96k stars 432 forks source link

Suddenly I can't build,Type not found error Flxel addons #3042

Closed lez26 closed 6 months ago

lez26 commented 6 months ago

When I tried to build, an error occurred. I was able to build it before, but suddenly I got this error. Even if I return the code, an error occurs, so it seems that the code is not related. Is this a bug? My library list : actuate: [1.9.0] box2d: [1.2.3] discord_rpc: [git] faxe: [git] flixel-addons: 2.11.0 3.0.2 3.2.0 [3.2.1] git flixel-demos: 2.9.0 3.0.0 [3.1.0] flixel-templates: [2.6.6] flixel-tools: [1.5.1] flixel-ui: [2.5.0] flixel: 4.11.0 5.2.2 5.3.1 5.5.0 [5.6.2] flxanimate: 3.0.4 [git] format: 3.6.0 [3.7.0] haxelib: [4.1.0] hmm: [3.1.0] hscript: [2.5.0] hxCodec: 2.5.1 [3.0.2] git hxcpp-debug-server: [1.2.4] hxcpp: 4.2.1 [4.3.2] hxdiscord_rpc: [git] hxjsonast: [1.1.0] hxp: [1.3.0] hxvm-luajit: [git] layout: [1.2.1] lime-samples: [7.0.0] lime: 8.0.1 8.0.2 8.1.1 [dev:C:\Users\kuon0\Documents\fridaynightfunkin\vsLez\lime] linc_luajit: [git] newgrounds: [2.0.2] openfl-samples: [8.7.0] openfl: 9.2.1 9.2.2 [9.3.2] polymod: [git] SScript: [10.1.618] systools: [1.1.0] thx.core: [0.44.0] thx.semver: [0.2.2] tjson: [1.4.0] utest: [1.13.2]


The error:


D:\games\haxe\aquaticInsectCollection>lime test windows
C:/Users/kuon0/Documents/fridaynightfunkin/vsLez/haxelib/flixel-addons/3,2,1/flixel/addons/editors/spine/texture/FlixelTextureLoader.hx:6: characters 8-33 : Type not found : spinehaxe.atlas.AtlasPage
C:/Users/kuon0/Documents/fridaynightfunkin/vsLez/haxelib/flixel-addons/3,2,1/flixel/addons/editors/spine/texture/FlixelTextureLoader.hx:7: characters 8-35 : Type not found : spinehaxe.atlas.AtlasRegion
C:/Users/kuon0/Documents/fridaynightfunkin/vsLez/haxelib/flixel-addons/3,2,1/flixel/addons/editors/spine/texture/FlixelTextureLoader.hx:8: characters 8-37 : Type not found : spinehaxe.atlas.TextureLoader
C:/Users/kuon0/Documents/fridaynightfunkin/vsLez/haxelib/flixel-addons/3,2,1/flixel/addons/editors/spine/FlxSpine.hx:26: characters 8-22 : Type not found : spinehaxe.Bone
C:/Users/kuon0/Documents/fridaynightfunkin/vsLez/haxelib/flixel-addons/3,2,1/flixel/addons/editors/spine/FlxSpine.hx:27: characters 8-26 : Type not found : spinehaxe.Skeleton
C:/Users/kuon0/Documents/fridaynightfunkin/vsLez/haxelib/flixel-addons/3,2,1/flixel/addons/editors/spine/FlxSpine.hx:28: characters 8-30 : Type not found : spinehaxe.SkeletonData
C:/Users/kuon0/Documents/fridaynightfunkin/vsLez/haxelib/flixel-addons/3,2,1/flixel/addons/editors/spine/FlxSpine.hx:29: characters 8-30 : Type not found : spinehaxe.SkeletonJson
C:/Users/kuon0/Documents/fridaynightfunkin/vsLez/haxelib/flixel-addons/3,2,1/flixel/addons/editors/spine/FlxSpine.hx:30: characters 8-22 : Type not found : spinehaxe.Slot
C:/Users/kuon0/Documents/fridaynightfunkin/vsLez/haxelib/flixel-addons/3,2,1/flixel/addons/editors/spine/FlxSpine.hx:31: characters 8-42 : Type not found : spinehaxe.animation.AnimationState
C:/Users/kuon0/Documents/fridaynightfunkin/vsLez/haxelib/flixel-addons/3,2,1/flixel/addons/editors/spine/FlxSpine.hx:32: characters 8-46 : Type not found : spinehaxe.animation.AnimationStateData
C:/Users/kuon0/Documents/fridaynightfunkin/vsLez/haxelib/flixel-addons/3,2,1/flixel/addons/editors/spine/FlxSpine.hx:33: characters 8-29 : Type not found : spinehaxe.atlas.Atlas
C:/Users/kuon0/Documents/fridaynightfunkin/vsLez/haxelib/flixel-addons/3,2,1/flixel/addons/editors/spine/FlxSpine.hx:34: characters 8-35 : Type not found : spinehaxe.atlas.AtlasRegion
C:/Users/kuon0/Documents/fridaynightfunkin/vsLez/haxelib/flixel-addons/3,2,1/flixel/addons/editors/spine/FlxSpine.hx:35: characters 8-51 : Type not found : spinehaxe.attachments.AtlasAttachmentLoader
C:/Users/kuon0/Documents/fridaynightfunkin/vsLez/haxelib/flixel-addons/3,2,1/flixel/addons/editors/spine/FlxSpine.hx:36: characters 8-40 : Type not found : spinehaxe.attachments.Attachment
C:/Users/kuon0/Documents/fridaynightfunkin/vsLez/haxelib/flixel-addons/3,2,1/flixel/addons/editors/spine/FlxSpine.hx:37: characters 8-44 : Type not found : spinehaxe.attachments.MeshAttachment
C:/Users/kuon0/Documents/fridaynightfunkin/vsLez/haxelib/flixel-addons/3,2,1/flixel/addons/editors/spine/FlxSpine.hx:38: characters 8-46 : Type not found : spinehaxe.attachments.RegionAttachment
source/MapState.hx:45: characters 13-21 : Type not found : Flxsound
C:/Users/kuon0/Documents/fridaynightfunkin/vsLez/haxelib/flixel-addons/3,2,1/flixel/addons/editors/spine/FlxSpine.hx:59: characters 116-128 : Type not found : SkeletonData

Geokureli commented 6 months ago

run haxelib install spinehaxe

lez26 commented 6 months ago

Hmm, it doesn't fix it.

Geokureli commented 6 months ago

open a terminal in your project and run haxelib list spinehaxe and see if spinehaxe shows up

lez26 commented 6 months ago

D:\games\haxe\aquaticInsectCollection>haxelib list spinehaxe spinehaxe: [3.5.0] displayed. But the build error remains the same.

Geokureli commented 6 months ago

Restart VScode and try a clean build

lez26 commented 6 months ago

I restarted vscode and built with vscode, but the error remains.

Geokureli commented 6 months ago

did you try a -clean build?

lez26 commented 6 months ago

D:\games\haxe\aquaticInsectCollection>lime test windows -clean build Error: You must have a "project.xml" file or specify another valid project file when using the 'test' command Is this correct? An error occurred.

Geokureli commented 6 months ago

did you just start getting that error or have you been getting it this whole time and never mentioned it?

lez26 commented 6 months ago

It's just starting to happen. I was able to build it until then.

Geokureli commented 6 months ago

looks like your terminal isn't pointed at the correct directory

lez26 commented 6 months ago

What does that mean? the terminal is pointing to a directory like this. D:\games\haxe\aquaticInsectCollection> lime test windows what should i do...

Geokureli commented 6 months ago

Either you messed up your project or you open the wrong directory, I can't really tell from here, but you should be running lime commands in the directory that has the project.xml

lez26 commented 6 months ago

I'm doing that, but I get an error...

Geokureli commented 6 months ago

this isn't helpful unless you say what you're doing, and what error you're getting