-
Notifications
You must be signed in to change notification settings - Fork 32
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
SpeedKit Image issue in getImageSize function #887
Comments
Hello @alghifarifikri, which |
Hello @ThornWalli |
@alghifarifikri Can you update your |
@ThornWalli I haven't tried it, is the solution just to upgrade the node version ? |
|
Which node version did you go to? I tested the project myself under Windows 10 with Node 19.9.0 and it runs as expected. Your error message may be due to an outdated node version being used. There were a few changes between Node 16 and 19. |
I'm using node version 20, do I need to downgrade again? |
Extremely strange... I also tested again with Node Ran without problems, in the project repo and in a project with an installed package. Could you share your installed dependency and the |
I'm closing this issue for now. |
Describe the bug
I got several issues when use
<speedkit-image />
.To Reproduce
Steps to reproduce the behavior:
<speedkit-image v-bind="image" @load="onLoadImage" />
image: { source: { format: 'webp', src: this.url, sizes: { default: '100vw', xxs: '100vw', xs: '100vw', sm: '100vw', md: '100vw', lg: '100vw', xl: '100vw', xxl: '100vw' } }, title: this.title, alt: this.alt, }
Expected behavior
The images loaded successfully, and did not cause any errors, especially when using Google Lighthouse.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: