Skip to content

HaxeFlixel - Type not found : dn.Version - Missing deepnightLibs dependency? #12

@JRJurman

Description

@JRJurman

When using this ldtk-haxe-api within HaxeFlixel, I get the following error on build:

> Executing task: haxelib run lime test html5 --connect 6000 <

/home/jrjurman/haxelib/ldtk-haxe-api/0,9,3-rc,1/src/ldtk/macro/TypeBuilder.hx:116: characters 7-17 : Type not found : dn.Version
source/PlayState.hx:14: characters 25-35 : Module LdtkLevels does not define type LdtkLevels
/home/jrjurman/haxelib/lime/7,9,0/src/lime/system/Clipboard.hx:20: characters 31-54 : Unknown<0> cannot be constructed
The terminal process "/usr/bin/zsh '-c', 'haxelib run lime test html5 --connect 6000'" terminated with exit code: 1.

I was able to resolve the issue by adding deepnightLibs to my Project.xml

	<!-- _______________________________ Libraries ______________________________ -->

	<haxelib name="flixel" />
	<haxelib name="ldtk-haxe-api" />
	<haxelib name="deepnightLibs" />

But this doesn't appear in any of the documentation, or the sample code:

<!-- _______________________________ Libraries ______________________________ -->
<haxelib name="flixel" />
<haxelib name="ldtk-haxe-api" />

I'm not super familiar with Haxe, but does this need to be defined in the dependencies in order for projects to work correctly?

"dependencies": {}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions