This project has moved. For the latest updates, please go here.

Problems with JsTransformer

May 1, 2014 at 2:00 PM
Edited May 1, 2014 at 2: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.Include(
                "~/Scripts/modernizr.custom.js",
                "~/Scripts/jquery-2.0.1.min.js",
                "~/Scripts/angular.js",
                "~/Scripts/angular-route.js",
                "~/Scripts/angular-resource.js",
                "~/Scripts/angular-animate.js",
                "~/Scripts/angular-easyfb.js",
                "~/Scripts/angular-cache.js",
                "~/Scripts/d3.js",
                "~/Scripts/nvd3.js",
                "~/Scripts/angularjs-nvd3-directives.js",
                "~/Scripts/ui-bootstrap-0.10.0.js",
                "~/Scripts/ui-bootstrap-tpls-0.10.0.js",
                "~/Scripts/pushy.js"
            );
commonScriptsBundle.Builder = nullBuilder;
commonScriptsBundle.Transforms.Add(jsTransformer);
commonScriptsBundle.Orderer = nullOrderer;

bundles.Add(commonScriptsBundle);
Please excuse my ignorance if I've done something completely wrong! And thank you for helping in advance ...
Coordinator
May 2, 2014 at 5:11 PM
Hello, Cejams!

In the BundleConfig.cs file all right.

Show me the code of your Web.config file.