Search code examples
angularplunker

Angular 2 RC.5 Plunker error: TypeError: core_1.NgModule is not a function


I upgraded my Angular 2 Plunker from RC.4 to RC.5 by doing the following:

  • updated systemjs.config.js to match the quickstart plunker
  • updated main.ts to match the quickstart plunker
  • created file app/app.module.ts, and populated it with what the quickstart plunker has

I don't see any other changes that are required for my simply plunker.

I keep getting this error: Error: TypeError: core_1.NgModule is not a function(…)


Solution

  • I hit the exact same problem on my project. It worked on 1 pc, didn't work on another. Turns out the solution was simple:

    Clear your browser cache