Skip to content

entryImportMap Failed to find a valid digest in the integrity attribute #33247

@tomsdob

Description

@tomsdob

Environment


  • Nuxt Version: 4.1.2

Reproduction

Describe the bug

Failed to find a valid digest in the 'integrity' attribute for resource 'https://somedomain.com/_nuxt/PeQVlOgK.js' with computed SHA-384 integrity 'xBIudfkVkGKemQ5krLETsP8rpyEg97VDA7HctIzgdnTtoaRvTl6oYE5iCrzfVY5W'. The resource has been blocked.

Uncaught (in promise) TypeError: Failed to fetch dynamically imported module: https://somedomain.com/_nuxt/PeQVlOgK.js

Additional context

After deployment of a website, I received these errors in the console.
Out of Firefox, Chrome, Safari, Brave, the Brave browser was the only browser which I experienced this issue on. After refreshing the website without cache, the issue was gone.
Sometimes these errors appear right after deployment, sometimes after several hours.
When entryImportMap is set to false, this issue seems to be gone.

Logs

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions