mikehearn/nodejvm

Windows support

Opened this issue · 0 comments

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.