I'm starting on a new project forked from an existing Angular 1 codebase, with the intention of using ngUpgrade to do new development using Angular 2. I've successfully added Angular 2 to the project, but when I try to instantiate ngUpgrade in order to bootstrap the ng2 side of the application, I get the following error:
I've searched for information on Failed to instantiate module NG2_UPGRADE_0_ and on $$testabilityProvider, but haven't been able to find anything useful.
It's a fairly complex project to start with, so trying to tear this down to a workable plunkr is challenging. Before I try to do so, is this something anyone has any ideas about?
Looking at the call stack, clearly the calls go from Angular 2 (node_modules/@angular/...) into angularjs (bower_components/angular), so the process appears to be starting off as expected. I don't have enough of an understanding of ngUpgrade to troubleshoot beyond what I've done so far.
Hopefully someone has an idea - this has been blocking me for a couple of days now.