-
Notifications
You must be signed in to change notification settings - Fork 20
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
TypeError: The "listener" argument must be of type Function. Received type object #7
Comments
It looks correct to me. Did you add |
Hello! having the same issue with AMP. added only |
Could you provide more details about this error? Like which line triggered this? |
@haoliu-amp the same as here.
|
@haoliu-amp did you do any changes to the maybe there has to be
|
@MrAlekhin Which version are you using btw? Also would you mind share the stacktrace too? |
@haoliu-amp
|
@MrAlekhin Thank you! Would you like to try 0.2.0 real quick to see if that version works for you? |
@haoliu-amp looks like the same error 🤷♂️
package.lock
|
Wonder what version of node are you using? Mine is v12.16.1. |
+1 Having the same issue. |
@MrAlekhin @nihiser @nihiser What version of node are you guys using? Look like it might be because of the node version compatibility issue. |
@haoliu-amp node version 13.9 here |
@mc-lovin @MrAlekhin @nihiser Hey all, I published a new version v0.3.2. Mind try it out? Thanks! |
@haoliu-amp I am on node |
TypeError: The "listener" argument must be of type Function. Received type object
My code block is nearly identical to the example:
I am in a TypeScript project and making the call in
ComponentDidMount
. Additionally, I added the@amplitude/types
package (Should update your README for that).Any assistance would be appreciated!
The text was updated successfully, but these errors were encountered: