Skip to content

Cannot read property 'WebSocket' of undefined #584

@soyjuanmedina

Description

@soyjuanmedina

Note: for support questions, please use one of these channels: stackoverflow or slack

You want to:

  • report a bug
  • request a feature

Current behaviour

After update my Angular App to Angular 8 I can npm start and npm build, but when I upoload to the server the console of the browser yield
Cannot read property 'WebSocket' of undefined

Other information (e.g. stacktraces, related issues, suggestions how to fix)

I really don't know if the issue is for this library, but I read the problem is about the
global.WebSocket || global.MozWebSocket;
webpack/webpack-dev-server#174 (comment)
in some libraries and I use yours

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