-
-
Notifications
You must be signed in to change notification settings - Fork 606
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: this.opts.request is not a function #1191
Comments
I recieve the same error when calling client.startClient({initialSyncLimit: 10}), also from the examples. |
Ive been having this issue as well trying to get hubot connecting to matrix, I had to drop back to v2.4.6 before it started working. |
I think this is caused by https://github.com/matrix-org/matrix-js-sdk/blob/develop/src/index.ts#L20 . As I understand it, using |
|
I would like to reopen the issue since there is a similar error. |
Did you try to downgrade the matrix js sdk version, to see if this improves the problem? It really helped us in the past to downgrade and compare a working old version of the sdk with a newer one. |
Downgrading the matrix sdk version is not a solution... discussion continues here #2415 |
any solution?? plz |
Hi guys,
I followed the instructions on the matrix site, on how to implement the client with node js.
I am using the matrix js sdk 4.0.0 and node js 12.10.0
After I run the node js application I receive an error "this.opts.request is not a function".
The same code is working for me in an electron app.
Here is the source code and the error message below:
Did someone have a similar problem with a node only implementation?
The text was updated successfully, but these errors were encountered: