Skip to content

Unable to launch project in chrome which created using angular-cli #6452

Description

@sitaram676

Bug Report or Feature Request (mark with an x)

Bug Report: Issue is only in Chrome

Versions.

@angular/cli: 1.0.5
node: 6.9.1
os: win32 x64
@angular/common: 4.1.3
@angular/compiler: 4.1.3
@angular/core: 4.1.3
@angular/forms: 4.1.3
@angular/http: 4.1.3
@angular/platform-browser: 4.1.
@angular/platform-browser-dynam
@angular/router: 4.1.3
@angular/cli: 1.0.5
@angular/compiler-cli: 4.1.3

Repro steps.

create an angular project using angular-CLI as mentioned in https://angular.io/docs/ts/latest/cli-quickstart.html
Run ng serve
access application using http://localhost:4200/

The log given by the failure.

This site can’t be reached
localhost refused to connect.

Mention any other details that might be useful.

Able to access in Firefox without issues
In IE after uncommenting the below lines in polyfills worked fine
/** IE9, IE10 and IE11 requires all of the following polyfills. **/
import 'core-js/es6/symbol';
import 'core-js/es6/object';
import 'core-js/es6/function';
import 'core-js/es6/parse-int';
import 'core-js/es6/parse-float';
import 'core-js/es6/number';
import 'core-js/es6/math';
import 'core-js/es6/string';
import 'core-js/es6/date';
import 'core-js/es6/array';
import 'core-js/es6/regexp';
import 'core-js/es6/map';
import 'core-js/es6/set';

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions