-
Notifications
You must be signed in to change notification settings - Fork 8
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
Cannot read properties of undefined (reading '$i') #26
Comments
I also receive this error, and it's inconsistent. The app works fine for a few minutes, but then it suddenly breaks later when nothing changed regarding the Time. |
|
Any updates? |
Could you provide a repo containing a minimal reproduction of the issue? Happy to take a look. |
It has something to do with the dayjs not being optimized on build. I could not replicate this in a Stackblitz. I fixed it buy manually installing dayjs as a dependency. |
Interesting – are you also using pnpm like the OP? It might be worth specifying the docs that pnpm users must also install dayjs . |
Yes I am using pnpm |
I'm using the latest release of Sveltekit and I've installed svelte-time as a dev dependency. I'm getting this error at the most basic usage of the module:
<Time relative timestamp="2020-02-01" />
The text was updated successfully, but these errors were encountered: