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
440 stars 49 forks source link

Trying to get Chakracore engine running in a microsoft/dotnet:2 docker container #44

Closed stuart-beattie closed 6 years ago

stuart-beattie commented 6 years ago

Has anyone had any success running the chakracore engine in a Linux docker container (hosted in ECS on AWS) based on the microsoft/dotnet:2-sdk image?

I have installed this package:

JavaScriptEngineSwitcher.ChakraCore.Native.debian-x64 v3.0.0.0-alpha9

However I still get the following error:

"Unable to load DLL 'ChakraCore': The specified module or one of its dependencies could not be found."

Everything working fine running in windows locally.

Is there something i'm missing or something else I need to do? Thanks.

Taritsyn commented 6 years ago

This package is deprecated. Instead, it is recommended to use a JavaScriptEngineSwitcher.ChakraCore.Native.linux-x64 package.

stuart-beattie commented 6 years ago

Ah ok great thanks I'll give that a go.

stuart-beattie commented 6 years ago

Thankyou, that does the trick! Much appreciated.