Friday, August 05, 2022

graalvm run js from node

first install all requirements 

gu install nodejs 

gu install native-image 

gu rebuild-images libpolyglot 

then run 

node --native --polyglot -e 'var array = Polyglot.eval("ruby", "[1,2,42,4]"); console.log(array[2]);'

 

 

 

https://www.graalvm.org/22.2/reference-manual/js/NodeJS/

 

 

 

 

 

 

 

 

 

No comments:

how to show a dialog box in wix

  Sometime we may want to show a dialog box to user from installation package, below is an example <CustomAction Id =" Confirm...