I am setting up NodeJS for use as an external evaluator in Mathematica 13.1 and am getting a message about missing dependencies.
I am following the steps in the Workflow documented at workflow/ConfigureNodeJSForExternalEvaluate
in the Mathematica Help System.
After a successful installation of NodeJS and ZeroMQ, I am getting the following message on Step 3 "Verify the installation".
In similar posts, this appears to have been solved by issuing a
RegisterExternalEvaluator
command on "NodeJS".When I issue the following command:
RegisterExternalEvaluator["NodeJS", "C:\\Program \ Files\\nodejs\\node.exe"]
I get the following error:
I believe there may be a PATH that needs to be added to Mathematica. However, I am not sure what the PATH should be.
The ZeroMQ installation is up-to-date.
I have tried adding paths to
Environment["PATH"]
followed byRegisterExternalEvaluator[...]
. So far, this does not change the outcome.NodeJS works from Visual Studio Code. I can write, execute, and debug JavaScript without any problems. Again, this probably points to a problem with my PATHS in Mathematica.
I am guessing that the environment path is not correct.
Could someone direct me to any information on the paths that should be added to the environment for ZeroMQ?