Angular Router example Best way to upgrade to include .angular-cli.json and bypass Cannot read property 'config' of null
I tried downloading the Routing and Navigation example from this page Here's the link to the specific zip . I run the following sequence of commands: npm install npm install --save-dev @angular/cli@latest ng -v ng serve -o From what I can make out Cannot read property 'config' of null is somehow related to a bad version of the CLI. But if I create a new project I can start it successfully with my existing setup ng new router cd router npm install ng serve -o Old directory structure (from zip download) includes these files: bs-config.json e2e-spec.ts New directory structure (from ng new):