NuxtN
Nuxt13mo ago
FiveDigitLP

New prerender errors

We haven't updated our packages in a little while, but due to the weird npm bug where optional dependencies aren't being recognized, I went ahead and ran npm audit fix to fix the build errors we were getting with our server not being able to find the right rollup version.

That helped, but then we started seeing some unusual prerender errors. They were [error] [nuxt] instance unavailable and then Error: [500] on the page it was trying to prerender. (See image for more of the logs.)

I reverted my changes and just updated rollup and am still seeing these errors. Any idea why a newer version of rollup would be causing this? If I remove our prerender options from the Nuxt config altogether, then that seems to solve it; however, for obvious reasons that's less than ideal.
image.png
Was this page helpful?