Skip to content

TypeError: Cannot read properties of undefined (reading 'calendar') #89

@wildesjamer

Description

@wildesjamer

hey i have an issue. i try to run myCloud.Calendar.getCollections() - how it is written down in demo and docs - but i get this error:

D:\code\node-Projects\icloud-calendar\node_modules\apple-icloud\resources\apps\Calendar.js:120
var host = getHostFromWebservice(self.account.webservices.calendar);

TypeError: Cannot read properties of undefined (reading 'calendar')
at iCloud.getCollections (D:\code\node-Projects\icloud-calendar\node_modules\apple-icloud\resources\apps\Calendar.js:120:63)
at main. [as getCollections] (D:\code\node-Projects\icloud-calendar\node_modules\apple-icloud\resources\helper.js:84:27)
at Timeout._onTimeout (D:\code\node-Projects\icloud-calendar\index.js:88:41)
at listOnTimeout (node:internal/timers:581:17)
at process.processTimers (node:internal/timers:519:7)

i have tried a little bit around but i do not have found a fix - maybe i am dumb, then really sorry :/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions