NuxtN
Nuxt5mo ago
5 replies
Leopold Kristjansson

Nuxt 3 on Vercel - SWR/ISR issues and

I am having two types of issues on Vercel right now, and I feel like they came out of the blue since I wasn't changing any code when this started happening (last 24 hours).

A) Client side errors with console logs like: Failed to find a valid digest in the 'integrity' attribute for resource 'https://my-commit-name.vercel.app/_nuxt/CFIb-zog.js' with computed SHA-384 integrity 'N5IfvMkgDYriwB7nB453NzJRZKbn/5YL7ewLms9RVqdI8GDsoGq3w'. The resource has been blocked.

If I hard-refresh, this gets fixed, but happens again whenever I deploy.

B) If I have swr: true for a specific route I get redirected on the client from from /some-path to /some-path-isr (always postfixing the route with -isr). Only happens if this is my initial route.

Does this ring any bells for anyone? I am on Nuxt 3.18.1, but I feel like it's not related to that.
Was this page helpful?