-
Notifications
You must be signed in to change notification settings - Fork 272
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
IPX doesn't generate images in Cloudflare Pages SSG build process #866
Comments
It looks like this issue is with nitro not thinking it's in a node environment. Forcing this config value to true seems to resolve this issue export default defineNuxtConfig({
nitro: {
node: true,
},
})
This line seems to be forcing the provider to none, even though IPX works fine. This might be considered an issue with nitro, which should be reporting |
7 tasks
tchiotludo
added a commit
to kestra-io/docs
that referenced
this issue
Sep 15, 2024
force nuxt image ipx to work, see nuxt/image#866 (comment)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems that images generation is skipped when running
nuxi generate
when run on Cloudflare Pages. This process is triggered by the CFP build process runningnpm run generate
. During this process, the generate process runs successfully, but no_ipx
urls seem to be hit and the images are not generated.This works fine with version 1.0.0-28059208.2abef1b but seems to have an issue with RC1
Cloudflare Pages build process is running node 18.16.0
The
generate
command runs successfully and generates all images when running locally.Here's the first part of the build log for reference:, where we can see the node environment and the generate command.
The text was updated successfully, but these errors were encountered: