Edgejs with node application not running on Mac computer

1.5k Views Asked by At

I have node application using Edgejs module to run some .net dll. My application is running on Windows machine but when run same application on Mac computer I get following error:

CoreClrEmbedenter code hereding::Initialize - Could not resolve CoreCLR path. For more details, enable tracing by setting COREHOST_TRACE environment variable to 1 module.js:664

  return process.dlopen(module, path._makeLong(filename));
                 ^

Error: This is not a published, standalone application and we are unable to locate the .NET Core SDK. Please make sure that it is installed; see http://microsoft.com/net/core for more de at Object.node_modules/edge-js/lib/edge.js:54:8)

1

There are 1 best solutions below

2
On

Have you ensured that your Mac is configured correctly as per https://github.com/tjanczuk/edge/tree/master#scripting-clr-from-nodejs?