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

It seems that self.account.webservices is undefined when getHostFromWebservice is called #53

Open
oitan opened this issue Oct 15, 2020 · 1 comment

Comments

@oitan
Copy link

oitan commented Oct 15, 2020

I tried to run the demos and got this for getOpenTasks and similar to this for getCollections:

UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'reminders' of undefined
    at iCloud.getOpenTasks (......./node_modules/apple-icloud/resources/apps/Reminders.js:7:63)
    at Object.main.<computed> [as getOpenTasks] (......./node_modules/apple-icloud/resources/helper.js:84:27)

I am not sure if it's because Apple's API is updated or not. If you can give me directions, I could make a pr too to contribute.

@JulianNeigenfind
Copy link

JulianNeigenfind commented Nov 8, 2020

Similar issue with FindMe.get => getHostFromWebservice(self.account.webservices.findme):

UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'findme' of undefined
    at iCloud.__start (.../node_modules/apple-icloud/resources/apps/FindMe.js:32:63)

Keep up the good work!

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