Skip to content

Angular-cli & Webpack & ng test (msg || "").replace is not a function #1608

Closed
@Chabane

Description

@Chabane

Hi,

I have an error when I execute the command ng test. I tried to add -watch=false -build=false, it doesn't work.

  1. OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
    Windows 7
  2. 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.11-webpack
    node: 6.3.1
    os: win32 x64
  3. Repro steps. Was this an app that wasn't created using the CLI? What change did you
    do on your code? etc.
    Migrating from angular-cli@broccoli
  4. The log given by the failure. Normally this include a stack trace and some
    more information.
    Missing error handler on socket.
    TypeError: (msg || "").replace is not a function
  5. Mention any other details that might be useful.
    Nop.

Thanks.

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