What is your code? What did you try? What doesn’t work? Do you get an error? Which OS? Which version of the OS? Which version of Xojo?
You`re mixing things.
JS is also just the language, Node.JS uses. The both (frontend JS and Node.JS) have not so much in common.
You can communicate to a Node.JS over two ways:
- Your Node app runs a webserver, for example Express, and you communicate over an RESTful API.
- You use a shell to run Node and execute shell commands with it.
I figured it out. I had to put the pathname to Node to get it to execute.
Thanks for your help.