Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EventEmitter import/inherit failing #28

Open
asmaps opened this issue Mar 15, 2023 · 1 comment
Open

EventEmitter import/inherit failing #28

asmaps opened this issue Mar 15, 2023 · 1 comment

Comments

@asmaps
Copy link

asmaps commented Mar 15, 2023

I am trying to add this to my Quasar/VueJS project. Where should EventEmitter/events come from? Seems like the inheritance is failing. Is there an undocumented hard dependency on https://angular.io/api/core/EventEmitter ?

Getting this error:

client-entry.js?t=1678872778010:156 [Quasar] boot error: TypeError: Class extends value #<Object> is not a constructor or null
    at rohrpost.es.js:14:1
@rashfael
Copy link
Contributor

Depends a bit on your build chain. This used to just work™ with old webpack and node-builtins. We're using vite right now and are fixing this by just installing https://www.npmjs.com/package/events in the host project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants