Skip to content

SVG images fail to load in production only (works fine in dev) #285

@maximepvrt

Description

@maximepvrt

Environment

node v20.19.1

Reproduction

https://stackblitz.com/edit/github-vin71jng

Describe the bug

I'm encountering an issue with SVG images only in production.

{
"error": {
"message": "[500] [IPX_ERROR] Cannot find module '../data/patch.json'\nRequire stack:\n- /home/bas/app_51d91368-11bf-46dc-9734-426830409073/benevolt/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/data-patch.js"
}
}

Additional context

No response

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions