Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gargallo Principles: A simple deploy fails on Vercel #4

Open
miguelgargallo opened this issue Sep 26, 2024 · 1 comment
Open

Gargallo Principles: A simple deploy fails on Vercel #4

miguelgargallo opened this issue Sep 26, 2024 · 1 comment

Comments

@miguelgargallo
Copy link

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.
@miguelgargallo
Copy link
Author

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 (/storefront/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/astro/dist/assets/build/generate.js:134:21)
    at async generateImage (/storefront/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.
    at loadSharp (/storefront/.netlify/build/chunks/astro/assets-service_dKb3Q-k1.mjs:546:11)
    at async Object.transform (/storefront/.netlify/build/chunks/astro/assets-service_dKb3Q-k1.mjs:558:25)
    at async generateImage (/storefront/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/astro/dist/assets/build/generate.js:71:28)
 ELIFECYCLE  Command failed with exit code 1.
 ELIFECYCLE  Command failed with exit code 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant