Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

232
Views
Angular CLI title did not show 'app works!'

I installed Angular CLI 1.0.1 successfully.

After I run ng server and go http://localhost:4200 using IE 11, it always showing "loading..." instead of "app works!"

ng-v
@angular/cli: 1.0.1
node: 6.10.2
os: win32 x64
@angular/common: 4.1.0
@angular/compiler: 4.1.0
@angular/core: 4.1.0
@angular/forms: 4.1.0
@angular/http: 4.0.3
@angular/platform-browser: 4.1.0
@angular/platform-browser-dynamic: 4.1.0
@angular/router: 4.1.0
@angular/cli: 1.0.1
@angular/compiler-cli: 4.1.0

Anyone know what am I missing from the install or config? the angular cli installed successfully. I follow the

npm install -g @angular/cli
ng new myproject
cd myproject
ng serve

Open http://localhost:4200 and always show "Loading... "

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

You must have javascrip errors. Make sure you open your browser javascript console and look for errors. This might be related to partialy installed npm packages. Try installing by running : npm install from a console in your project folder. For your setting, please edit your package.json file and use @angular/http version 4.1.0 and npm install again

over 4 years ago · Santiago Trujillo Report

0

That is knowing Angular 2 not working in IE 9 - 11 issue, please see https://weblogs.asp.net/lduveau/angular-not-working-in-ie11 and Angular2 IE11 Unable to get property 'apply' of undefined or null reference After I install:

npm i mdn-polyfills --save

and modify the file under the project src\polyfills.ts, add following code

import "core-js/client/shim"; // or load it before other angular2 & zone.js stuff
import "zone.js";
import "reflect-metadata";

Wow, it is works!!!

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!