Skip to content

fix: missing aws-amplify RuntimeCompatibilityΒ #533

@martijndewit

Description

@martijndewit

πŸ› The bug

Using aws-amplify as nitro preset.

we are getting:
@nuxtjs/og-image 9:06:23 AM] WARN Unknown Nitro preset "aws-amplify" β€” falling back to node-server compatibility. Set ogImage.compatibility.runtime to override.

Solution:
Add aws-amplify, it is missing from the RuntimeCompatibility map.
somehting like?
"aws-amplify": NodeRuntime

I don't know if i'm missing something else.

πŸ› οΈ To reproduce

https://nuxtseo.com/og-image/getting-started/stackblitz

🌈 Expected behavior

a solution for using aws-amplify

ℹ️ Additional context

ogImage: { defaults: { width: 1200, height: 630, }, compatibility: { runtime: { takumi: 'node', sharp: 'node', }, }, },

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions