Skip to content
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

Responsive images sets not generated with npm run dev, but works with npm start #147

Open
LushawnDev opened this issue Dec 24, 2022 · 1 comment

Comments

@LushawnDev
Copy link

Hi,

Could you run a quick test to see if this error is generally repeatable for you?

On my site I have 2 <BackgroundImage /> components and 4 <Picture /> components. Consistently if I run npm run dev only 2 responsive image sets are generated for my site (1 for <BackgroundImage /> and 1 for <Picture /> ), whereas if I run npm start to start the dev server, all 6 image sets are generated.

When the image sets don't get generated I get Cannot find module for the images, as they are never generated. Happy to supply more of my code if needed and you can't recreate the error. Thanks!

@RafidMuhymin
Copy link
Owner

Hi @LushawnDev ! Could you please share a link to your project?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants