Infisical / infisical

♾ Infisical is the open-source secret management platform: Sync secrets across your team/infrastructure, prevent secret leaks, and manage internal PKI
https://infisical.com
Other
13k stars 677 forks source link

Issue - Error: 'sharp' is required #1384

Open KazeroG opened 5 months ago

KazeroG commented 5 months ago

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'railway.app'
  2. Click on 'deploy' infisical template
  3. See error : Error: 'sharp' is required to be installed in standalone mode for the image optimization to function correctly

Expected behavior

no error

Screenshots

image

Platform you are having the issue on:

Railway.app

Log

Environment variable replacement is the same, skipping..
Environment variable replacement is the same, skipping..
Telemetry is enabled
(node:7) NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.
Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check the migration guide at https://a.co/7PzMCcy
(Use `node --trace-warnings ...` to show where the warning was created)
Database connection established
ℹ Checking configurations...
ℹ Testing smtp connection
✖ SMTP - Failed to connect to undefined:587
ℹ Testing mongodb connection
✔ Mongodb successfully connected
ℹ Testing redis connection
✔ Redis successfully connected
connect ECONNREFUSED 127.0.0.1:587
Migration: Secret version migration v1 complete
Migration: Folder migration v1 complete
Migration: Service token migration v1 complete
Migration: Integration migration v1 complete
Migration: Service token migration v2 complete
Backfill: Finished converting owner role to member
Welcome to Infisical
Create your Infisical administrator account at:
http://localhost:8080/admin/signup
Error: 'sharp' is required to be installed in standalone mode for the image optimization to function correctly
akhilmhdh commented 4 months ago

Probably https://nextjs.org/docs/messages/sharp-missing-in-production

We may be using next/image