Skip to content

Build problems #16

@ConfidantCommunications

Description

I am attempting to build the ufront-hello project, using the instructions on Git.

I get to the "./setupDev" part and it fails. There is no setupDev script there.
Well whatever, I say— I had it installed before so I continue with the other stuff.

I get to "cd submodules/hello" and it fails because that doesn't exist either.

From the text I assume that this part was intended to build ufront-hello. I had cloned that manually before, so I continue the instructions using those files.

In the past I ran into problems and was advised to used the git versions of the libraries. So now I have the git versions of all ufront libraries active in my haxelib. When I attempt to ufront build, first it complains of Error parsing haxelib.json for ufront@git: [file_contents,/usr/lib/haxe/lib/ufront/git/haxelib.json]
So I grabbed that from a different version in the haxelib ufront folder and removed the versions of the dependencies.

Then I build and it says Library ufront version git does not have a run script so I had to copy the run.n file also.

Then to avoid errors about having two versions installed, I had to also remove all versions from the haxelib.json files in ufront-easyauth.

Now when I compile I get:
/usr/lib/haxe/lib/ufront-mvc/1,1,0/src/ufront/api/UFAsyncApi.hx:94: lines 94-174 : Missing return tink.Surprise<_makeApiCall.A, tink.TypedError<ufront.remoting.RemotingError<_makeApiCall.B>>>
/usr/lib/haxe/lib/ufront-mvc/1,1,0/src/ufront/web/result/CallJavascriptResult.hx:99: characters 16-24 : Unknown identifier : document
/usr/lib/haxe/lib/ufront-mvc/1,1,0/src/ufront/web/result/CallJavascriptResult.hx:105: characters 15-30 : Array access is not allowed on {+ length : Int }
/usr/lib/haxe/lib/ufront-mvc/1,1,0/src/ufront/web/result/CallJavascriptResult.hx:106: characters 17-25 : Unknown identifier : document
/usr/lib/haxe/lib/ufront-mvc/1,1,0/src/ufront/web/result/CallJavascriptResult.hx:112: characters 4-12 : Unknown identifier : document
/usr/lib/haxe/lib/ufront-mvc/1,1,0/src/ufront/web/result/CallJavascriptResult.hx:113: characters 4-12 : Unknown identifier : document
Failed to build client.hxml, server.hxml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions