This repository has been archived by the owner on Apr 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 341
Missing EventEmitter on recent RCs of @angular/cli #99
Comments
Continuing apollographql/GitHunt-Angular#100 |
Any progress on this? |
having the exact same issue |
Same issue also here. even with subscriptions-trasport-ws@0.5.5. I also tried to upgrade the eventemitter3 dependency with no luck. |
check: npm ls eventemiter3 |
thanks, that works |
Fixed in |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
An error:
It happens inside a project that has been created by
@angular/cli@^1.0.0-rc.1
.In client.ts, we've got this:
In eventemitter3/index.js:
Webpack creates a bundle file that contains that:
The thing is,
_eventemitter3
has noEventEmitter
property assigned. It's missing...When you look up for the
eventemitter3
package inside the bundle file, there's noEventEmitter.EventEmitter
but there's another property available that has been assigned the same way (EventEmitter.prefixed
). It somehow removes the assignment from the code.Weird...
The text was updated successfully, but these errors were encountered: