Closed heart-of-code closed 2 years ago
Having the same issue after working to get Prismic and Gatsby upgraded, working fine in dev mode but the build fails.
Hey @heart-of-code and @cyberious sorry for the delay. I'm just getting back after some time off from work. :)
I'm looking into this today. It appears to be related to @imgix/gatsby
(used for the gatsby-plugin-image
integration).
@heart-of-code @cyberious Are either of you using Gatsby 4's new rendering strategies? DSG or SSR?
no worries, I wasn't really expecting a response over the holidays 😁
I'm not using either of those new features. I also can share my codebase with you on GitLab if you have an account there
On Tue, Jan 4, 2022, 4:12 PM Angelo Ashmore @.***> wrote:
Hey @heart-of-code https://github.com/heart-of-code and @cyberious https://github.com/cyberious sorry for the delay. I'm just getting back after some time off from work. :)
I'm looking into this today. It appears to be related to @imgix/gatsby (used for the gatsby-plugin-image integration).
@heart-of-code https://github.com/heart-of-code @cyberious https://github.com/cyberious Are either of you using Gatsby 4's new rendering strategies? DSG or SSR?
— Reply to this email directly, view it on GitHub https://github.com/prismicio/prismic-gatsby/issues/488#issuecomment-1005173698, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACBRN7LEJNANFG35LTIPU7LUUNPCLANCNFSM5KPHW5FQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID: @.***>
Thanks, no need to share your code (at least not for now). I thought this bug was limited to DSG/SSR, but I guess not!
I opened a PR to @imgix/gatsby
that should fix this issue. Once it is merged + published, I'll publish an update here. Thanks for your patience as always.
Related PR: https://github.com/imgix/gatsby/pull/159
The PR was merged to @imgix/gatsby
that should fix this issue. Could everyone update to the latest versions to ensure the update is installed?
gatsby-source-prismic
: v5.2.5
gatsby-plugin-prismic-previews
: v5.2.5
Thanks!
I can confirm it resolved my issue.
Versions
5.2.3
after upgrading from4.1.6
v16.13.1
Reproduction
Worked fine on version 4.1.6. Upgraded to 5.2.3 and this error started occurring. I'm not sure what else I can offer for reproduction steps, all I did was upgrade.
What is expected?
npm run build
doesn't crashWhat is actually happening?
GitHub won't allow me to upload my package.json file for reference, so I've pasted it into a code block below: