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 340
TypeError: eventemitter3_1.EventEmitter is not a constructor #267
Labels
Comments
@mjasnikovs what's the version where this thing happened to you? Is it still happening now? Have u tried a clean |
Yes, this happens still on the latest version |
@mistic Just created a new project, same issue in 2018. |
I have the same problem. |
npm i eventemitter3@2.0.3 --save |
Probably not relevant anymore 2 years later, but if anyone has the same problem I have an answer which worked for me. When you import the eventemitter3 you should do it like this: import { EventEmitter } from 'eventemitter3'; not like this: import EventEmitter from 'eventemitter3'; |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
To fix, had to manually install
The text was updated successfully, but these errors were encountered: