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

Windows support #2

Open
mikehearn opened this issue Oct 21, 2019 · 0 comments
Open

Windows support #2

mikehearn opened this issue Oct 21, 2019 · 0 comments

Comments

@mikehearn
Copy link
Owner

Needs to wait until GraalVM fully supports Windows. The main UNIX dependency is this file:

https://github.com/mikehearn/nodejvm/blob/master/src/main/resources/nodejvm

It's a shell script that does the wrangling of the command line arguments from what Java expects to what the Graal NodeJS runtime expects, along with misc compatibility hacks, and of course it sets NodeJS up to look in the node_modules directory.

To make this more portable, I'd suggest we can rewrite it from bash into Java or Kotlin and compile it with native-image, if that now works on Windows too.

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

1 participant