Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HXML Build, Wrong Target JavaScript! #1161

Open
barisyild opened this issue Mar 7, 2024 · 2 comments
Open

HXML Build, Wrong Target JavaScript! #1161

barisyild opened this issue Mar 7, 2024 · 2 comments

Comments

@barisyild
Copy link

image

@m0rkeulv
Copy link
Member

Not sure why it says You can run only Neko, Flash or JavaScript. it should probably be You can run only Neko, Flash or You can run only Neko, Flash, Eval i dont see any logic to run javascript when generated from HXML, what runtime should it use?

javascript can be a used for a lot of things, it can be intended as backend code on a node.js server, it can be frontend as part of a web site, it can be as script in some software etc. so without any info on how to run the produced JS it makes sense that the run command fails.

@barisyild
Copy link
Author

Not sure why it says You can run only Neko, Flash or JavaScript. it should probably be You can run only Neko, Flash or You can run only Neko, Flash, Eval i dont see any logic to run javascript when generated from HXML, what runtime should it use?

javascript can be a used for a lot of things, it can be intended as backend code on a node.js server, it can be frontend as part of a web site, it can be as script in some software etc. so without any info on how to run the produced JS it makes sense that the run command fails.

haxe.run.wrong.target=Wrong target {0}\! You can run only Neko, Flash or JavaScript.

I think releated to this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants