9xN / node-ig-framework

Framework for interacting with instagrams private api in a usable manner in a structure and format similar to discord's old bot development framework.
GNU Affero General Public License v3.0
25 stars 8 forks source link

Cannot read property "Subscribe"! #4

Closed adiiityaaa closed 1 year ago

adiiityaaa commented 1 year ago

Faced a new error while running the package: image

If I remove this line: ig.fbns.push$.subscribe((data) => this.handleFbnsReceive(data)) The bot logins but does not work anymore, like no events respond.

9xN commented 1 year ago

interesting I have not seen this error before so I would have to do some testing & diagnostics, can you please provide your current source code file(s) as well as node environment/version info?

adiiityaaa commented 1 year ago

I currently don't have source code files. However, I am importing it as an ESM module. Also, my nose version is 16.19.1

9xN commented 1 year ago

oh ok

9xN commented 1 year ago

hi small update on the situation im having the same issue now i will be doing a much deeper dive into this issue and will be trying to resolve it as soon as possible! in the mean time you can try downgrading to an older version of the wrapper from nmp by changing the version of this package in your package.json file to 0.0.1 and this might be a good temporary solution

9xN commented 1 year ago

@adiiityaaa try updating to v1.0.5 or uninstall your node modules and from package.json or upgrade to v1.0.5 it is all working now again