Hi!
I followed the guide on
https://immich.app/docs/developer/setup
But when I "only want to do web development connected to an existing, remote backend", the step
IMMICH_SERVER_URL=https://demo.immich.app/ npm run dev
results into
vboxuser@ubuntults:/sharedfolders/git/immich/web$ IMMICH_SERVER_URL=https://demo.immich.app/ npm run dev
[email protected] dev
vite dev --host 0.0.0.0 --port 3000
failed to load config from /sharedfolders/git/immich/web/vite.config.js
error when starting dev server:
Error: Could not load the "sharp" module using the linux-x64 runtime
Possible solutions:
- Ensure optional dependencies can be installed:
npm install --include=optional sharp
yarn add sharp --ignore-engines - Ensure your package manager supports multi-platform installation:
See https://sharp.pixelplumbing.com/install#cross-platform - Add platform-specific dependencies:
npm install --os=linux --cpu=x64 sharp - Consult the installation documentation:
See https://sharp.pixelplumbing.com/install
at Object.<anonymous> (/sharedfolders/git/immich/web/node_modules/sharp/lib/sharp.js:114:9)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)
at Object.<anonymous> (/sharedfolders/git/immich/web/node_modules/sharp/lib/constructor.js:10:1)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
.