Problems with JsTransformer

May 1, 2014 at 1:00 PM
Edited May 1, 2014 at 1:01 PM
I'm hoping to get some help regarding a problem I'm having. Ultimately I'm going to compile and minify Coffeescript, but to start off with I am trying to simply combine Javascript. Upon preview, I get this error:
Unable to cast object of type 'JavaScriptEngineSwitcher.V8.V8JsEngine' to type 'BundleTransformer.Core.Translators.ITranslator'.
Here is the BundleConfig.cs:
var nullBuilder = new NullBuilder();
var cssTransformer = new CssTransformer();
var jsTransformer = new JsTransformer();
var nullOrderer = new NullOrderer();

var commonScriptsBundle = new Bundle("~/Bundles/CommonScripts");
commonScriptsBundle.Builder = nullBuilder;
commonScriptsBundle.Orderer = nullOrderer;

Please excuse my ignorance if I've done something completely wrong! And thank you for helping in advance ...
May 2, 2014 at 4:11 PM
Hello, Cejams!

In the BundleConfig.cs file all right.

Show me the code of your Web.config file.