Closed tonimelisma closed 3 years ago
When attempting to run similar example code as in the tests:
const { SimpleCalDav } = require("simple-caldav") const URI = "webcal://my-fake-url" const icloud = new SimpleCalDav(URI) const main = async() => { await dav.listEvents(); } main()
I just get the error SimpleCalDav is not a constructor. Apologies for the basic question. Any pointers?
SimpleCalDav is not a constructor
Try importing SimpleCalDAV (capitalization of DAV). Please let me know how it goes.
SimpleCalDAV
A typo then 😄 Apologies for this.
When attempting to run similar example code as in the tests:
I just get the error
SimpleCalDav is not a constructor
. Apologies for the basic question. Any pointers?