Skip to content

Gargallo Principles: A simple deploy fails on Vercel #4

@miguelgargallo

Description

@miguelgargallo

The code does not deploy on vercel

 generating optimized images 
[CouldNotTransformImage] Could not transform image `https://shop.astro.build/assets/shirts.png`. See the stack trace for more information.
  Hint:
    This is often caused by a corrupted or malformed image. Re-exporting the image from your image editor may fix this issue.
  Error reference:
    https://docs.astro.build/en/reference/errors/could-not-transform-image/
  Stack trace:
    at generateImageInternal (file:///vercel/path0/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/astro/dist/assets/build/generate.js:134:21)
    at async generateImage (file:///vercel/path0/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/astro/dist/assets/build/generate.js:71:28)
  Caused by:
  Could not find Sharp. Please install Sharp (`sharp`) manually into your project or migrate to another image service.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions