Skip to content
This repository was archived by the owner on Sep 3, 2026. It is now read-only.
This repository was archived by the owner on Sep 3, 2026. It is now read-only.

Uncaught TypeError: Cannot read property 'EventSource' of undefined #13

Closed

Description

When updating from 2.0.0 to 2.0.1 I started getting this exception.

Activity

  1. glenjamin commented on Sep 14, 2015

    @glenjamin
    Contributor

    Must be related to #12 - can you include a stack trace?

  2. glenjamin commented on Sep 15, 2015

    @glenjamin
    Contributor

    There's been a few issues with the eventsource polyfill, I've deprecated v2.0.1 which contained it and released v2.0.2 which removes this functionality dfb7efb.

    I'm hoping to release another version later with a working polyfill, so I'd still like to figure out what went wrong here. Can you post your webpack config? I have a theory it's related to the nodejs settings in there.

  3. insin commented on Sep 15, 2015

    @insin
    Contributor

    Is this caused by using babel-loader without exclude: /node_modules/? There's no "use strict"; in the source.

  4. glenjamin commented on Sep 15, 2015

    @glenjamin
    Contributor

    Ok cheers, will include the docs about this in the proper fix for #11

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

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions