-
Notifications
You must be signed in to change notification settings - Fork 468
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
Uncaught TypeError: Emitter is not a constructor #323
Comments
Hi @Gittekken, which version of reactivesearch are you using? Also, are you using it on web/native? |
The latest version. "@appbaseio/reactivesearch": "^2.3.3". For the web. At the web console it says could not find module emitter so I npm installed it and now it says Uncaught TypeError: Emitter is not a constructor. |
Can you post any errors you're seeing in the browser console and any relevant code? I tried the starter app and it seems to be working fine. |
I am not using a starter app. I am using an existing meteor project. I get this If you notice problems related to these missing modules, consider running: so I installed all of these with npm. Once I installed them I get "Uncaught TypeError: Emitter is not a constructor" That is all I am seeing just that. There is nothing else. |
@Gittekken On a first look, it seems like a meteor specific error caused by the In the Github repo of the stream package, I found this issue which may be relevant - juliangruber/stream#5. |
@siddharthlatest thanks nice find on the stream issue. |
Is there a solution ? I opened an issue on meteorjs repo. |
sorry my memory is bad but yes!! you just change the line to "var Emitter = require('emitter');" in the index.js. just follow what was mentioned in link @siddharthlatest found. |
and obviously install the modules that meteor wants installed I believe. hope this helps. |
Hi, when i try to import reactivesearch I get an error of "Uncaught TypeError: Emitter is not a constructor". I was wondering how to go about solving this issue.
thanks
Ken
The text was updated successfully, but these errors were encountered: