You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could not find a declaration file for module 'ical.js'. '...../node_modules/ical.js/build/ical.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/ical.js` if it exists or add a new declaration (.d.ts) file containing `declare module 'ical.js';`
5 import ICAL from 'ical.js';
My project details:
Angular CLI: 16.2.14
Node: 18.20.2
Package Manager: npm 10.5.2
OS: darwin arm64
The text was updated successfully, but these errors were encountered:
Hi, type generation has just been merged but its not included in a release yet which is why you get the error when installing the package from npm. If you need the types already you can create a package from the current master branch however the master branch is not guaranteed to be stable:
Clone the master branch git clone https://github.com/kewisch/ical.js.git
Install dependencies npm i
Build the library npm run build
Create a tarball npm pack
Copy the tarball to your project and reference it in your package.json like this:
I can't add the ical.js to my project.
I followed these steps in "https://www.npmjs.com/package/ical.js"
I'm getting this error:
My project details:
Angular CLI: 16.2.14
Node: 18.20.2
Package Manager: npm 10.5.2
OS: darwin arm64
The text was updated successfully, but these errors were encountered: