JavaScriptEngineSwitcher icon indicating copy to clipboard operation
JavaScriptEngineSwitcher copied to clipboard

load modules

Open dade6 opened this issue 2 years ago • 2 comments

Hi everyone, sorry but I'm not an expert in Javascript and even in C#. I just discovered JES I would like to ask if there anyway to use the library PaperJs into a C# software. I've made an attempt by using Jurassic engine and an error come out saying the require was not defined. So I understood that NodeJs engine and this error come out: JavaScriptEngineSwitcher.Node module cannot work correctly when the Node JS service is configured to work in the multi-process mode of Jering.Javascript.NodeJS

could you please give me any suggestion about this.

thanks in advance

dade6 avatar Jan 15 '23 17:01 dade6

Hello, Davide!

In your case, I recommend using the Jering.Javascript.NodeJS library directly (without JavaScript Engine Switcher).

Taritsyn avatar Jan 15 '23 18:01 Taritsyn

Hi everyone, sorry but I'm not an expert in Javascript and even in C#. I just discovered JES I would like to ask if there anyway to use the library PaperJs into a C# software. I've made an attempt by using Jurassic engine and an error come out saying the require was not defined. So I understood that NodeJs engine and this error come out: JavaScriptEngineSwitcher.Node module cannot work correctly when the Node JS service is configured to work in the multi-process mode of Jering.Javascript.NodeJS

could you please give me any suggestion about this.

thanks in advance

May be need browserify?

hzexe avatar Feb 18 '23 13:02 hzexe