rangle / ngCourse2

An Angular Course from Rangle.io
Other
184 stars 126 forks source link

ngCourse2/examples/ng-upgrade fails to compile #904

Open scottschafer opened 7 years ago

scottschafer commented 7 years ago

I followed the instructions exactly, namely to cd into ng-upgrade/ after cloning and run:

npm install npm start

What I get is a ton of errors, for example:

ERROR in /Users/sschafer/projhome/test3/ngCourse2/examples/ng-upgrade/node_modules/angular2/src/facade/collection.d.ts (1,25): error TS2304: Cannot find name 'MapConstructor'.

I am trying to find a single working example of "ng-upgrade" - just one! - that works with the latest version of angular. So far no luck. Feeling very frustrated and discouraged, and am even starting to question whether trying to upgrade our large Angular 1 code base is a good idea.