Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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(…)

like image 574
Mark Rajcok Avatar asked Mar 09 '26 13:03

Mark Rajcok


1 Answers

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

like image 180
ElSnakeO Avatar answered Mar 11 '26 02:03

ElSnakeO



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!