Taritsyn / JavaScriptEngineSwitcher

JavaScript Engine Switcher determines unified interface for access to the basic features of popular JavaScript engines. This library allows you to quickly and easily switch to using of another JavaScript engine.
Apache License 2.0
446 stars 49 forks source link

load modules #106

Open dade6 opened 1 year ago

dade6 commented 1 year ago

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

Taritsyn commented 1 year ago

Hello, Davide!

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

hzexe commented 1 year ago

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?