Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

235
Visualizações
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 Respostas
Responde à pergunta

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 Relatório

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda