FunkinCrew / Funkin

A rhythm game made with HaxeFlixel
https://www.newgrounds.com/portal/view/770371
Other
2.97k stars 2.29k forks source link

Compiling help: Type not found : T #2333

Closed METGameDev closed 6 months ago

METGameDev commented 6 months ago

Please check for duplicates or similar compiler issues by filtering for 'compiler help'

Please describe your issue. Provide extensive detail and images if possible.

Honestly the funniest error I have ever gotten outta anything. So I managed to get past a bunch of previous errors, but I dont even know what to say about this one:

ERROR (unknown position)

  | Type not found : T

(yes thats LITERALLY IT i have no clue what this is)

Theres also this warning thats bolded above it, dont know if it has anything to do with anything though.

WARNING D:/FNF CODING/PoopyfaceMod/.haxelib/flixel/5,8,0/flixel/FlxState.hx:196: lines 196-199

196 public function switchTo(nextState:FlxState):Bool 197 { 198 return true; 199 }
switchTo is deprecated, use startOutro

Im pretty sure I installed everything correctly, but if this indicates a bad installation of a library lmk.

METGameDev commented 6 months ago

Ok, reinstalled flixel, this error disappeared but a new one appeared:

ERROR source/funkin/modding/PolymodHandler.hx:294: characters 7-24

294 | coreAssetRedirect: CORE_FOLDER, | ^^^^^^^^^^^^^^^^^ | { coreAssetRedirect : Null, assetLibraryPaths : haxe.ds.Map<String, String> } has extra field coreAssetRedirect

METGameDev commented 6 months ago

actually, ill close this cuz the initial error was solved, and make a new issue for this error so people can find the answer to this error more easily in the future.

Itsgithubfellow commented 5 months ago

I reinstalled flixel and nothing happened, I am still getting this error

NotHyper-474 commented 1 month ago

This issue is probably stale by now but this also seems to be caused by a wrong version Polymod? Since for some reason haxelib update polymod causes this error to pop up and force-reinstalling it fixes it. Removing Polymod and installing it through haxelib also yields the same thing.