Skip to content

ng e2e does not start a webserver #4042

@rolandjitsu

Description

@rolandjitsu

Please provide us with the following information:

OS?

Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)

OS X El Capitan

Versions.

Please run ng --version. If there's nothing outputted, please run in a Terminal: node --version and paste the result here:

angular-cli: 1.0.0-beta.25.5
node: 6.7.0
os: darwin x64
@angular/common: 2.4.3
@angular/compiler: 2.4.3
@angular/core: 2.4.3
@angular/forms: 2.4.3
@angular/http: 2.4.3
@angular/platform-browser: 2.4.3
@angular/platform-browser-dynamic: 2.4.3
@angular/router: 3.4.3
@angular/material: 2.0.0-beta.1

Repro steps.

Was this an app that wasn't created using the CLI? What change did you do on your code? etc.

Running ng e2e fails because the webserver is never started.

The log given by the failure.

Normally this include a stack trace and some more information.

[13:20:23] E/protractor - Could not find Angular on page http://localhost:4200/ : retries looking for angular exceeded

Mention any other details that might be useful.

If this is expected behaviour, there should be a way to start a dev server and attach a callback to it so that we manually trigger the integration tests once the dev server is started.


Thanks! We'll be in touch soon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions