netlify / next-runtime

The Next.js Runtime allows Next.js to run on Netlify with zero configuration
https://www.npmjs.com/package/@netlify/plugin-nextjs
633 stars 84 forks source link

5.3.3 build error #2499

Closed rks118 closed 2 months ago

rks118 commented 2 months ago

It's correct when the project uses 5.3.2: https://app.netlify.com/sites/preview-codexfield/deploys/666448005925280008de9a6b

But, occur when 5.3.3:

Netlify log: https://app.netlify.com/sites/preview-codexfield/deploys/6671a19df33c840008195a6c

pieh commented 2 months ago

The failure happens during build command (~next build). At this point Next Runtime didn't do a lot of work yet and this part of work didn't change from 5.3.2 to 5.3.3 so the failure at this step caused by Next Runtime bump seems quite confusing. Would you be able to downgrade runtime to 5.3.2 without making any other changes to verify that this failure could be cause by runtime version?

rks118 commented 2 months ago

@pieh

I downgrade the runtime to 5.3.2, and then the code is rolled back to the previous successful version.

But still error: https://app.netlify.com/sites/preview-codexfield/deploys/6671b7fa0bbda10008abeb39

What could be the cause?

orinokai commented 2 months ago

hi @rks118 we'd like to help you get this fixed! because it doesn't seem to be an issue with the Next Runtime itself I think you'll get faster and more detailed help in the support forums

rks118 commented 2 months ago

@orinokai thx.

I had posted on https://answers.netlify.com/t/nexjs-build-failed/120588.

orinokai commented 2 months ago

Thanks @rks118, closing and will continue the discussion in the support post