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

unknown option '--haxe-version' on vscode #138

Open
0b1kn00b opened this issue May 1, 2020 · 9 comments
Open

unknown option '--haxe-version' on vscode #138

0b1kn00b opened this issue May 1, 2020 · 9 comments

Comments

@0b1kn00b
Copy link

0b1kn00b commented May 1, 2020

Works fine on the command line, even tried hard-coding the haxe compiler in vscode settings to: ~/npm-global/bin/haxe.

@back2dos
Copy link
Contributor

back2dos commented May 1, 2020

Can you please provide a full setup to reproduce this?

@Gama11
Copy link
Member

Gama11 commented May 1, 2020

Try not setting haxe.executable at all (or set it to "auto"), and make sure you have the lix vscode extension installed.

@0b1kn00b
Copy link
Author

0b1kn00b commented May 1, 2020

The answer is maybe. I'll see if I can reproduce it in docker. auto was already tried. Came about I think when I did a switch into 3.x and then back.

@0b1kn00b
Copy link
Author

0b1kn00b commented May 1, 2020

Including restarting vscode and pkill-ing Haxe

@0b1kn00b
Copy link
Author

0b1kn00b commented May 2, 2020

Any idea why npm install -g git+https://github.com/lix-pm/lix.client.git doesn't work?

@kevinresol
Copy link
Member

no idea

@0b1kn00b
Copy link
Author

0b1kn00b commented May 2, 2020

It's chmod that fails there

@tjrhodes
Copy link

I'm getting this too, only on part of a project compiling to JS.

Error: : unknown option '--haxe-version'. Did you mean: --swf-version <version> change the SWF version The terminal process "/........../node_modules/.bin/haxe '--connect', '6000', 'build-webapp-client.hxml'" terminated with exit code: 1.

haxe executable set to auto, lix vscode plugin installed, running haxe build-webapp-client.hxml works without error.

@GlassySundew
Copy link

found a way to repro this: have your hxml file contain --next with several compile targets. Adding --connect <port> fixes that

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

6 participants