Hello, i want to upload an existing gallery following the guide: https://immich.app/docs/features/bulk-upload
Unfortunately after i type npm i -g immich on the console the following error occurs:
root@ubuntu22:~/immich-app# npm i -g immich
changed 27 packages, and audited 28 packages in 2s
4 packages are looking for funding
runnpm fundfor details
found 0 vulnerabilities
I also get the following error after typing "immich":
internal/modules/cjs/loader.js:818
throw err;
^Error: Cannot find module 'fs/promises'
Require stack:
- /usr/local/lib/node_modules/immich/bin/index.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
at Function.Module._load (internal/modules/cjs/loader.js:667:27)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (/usr/local/lib/node_modules/immich/bin/index.js:48:20)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/usr/local/lib/node_modules/immich/bin/index.js' ]
}
I installed npm/node before and got no error.
Anyone can help?
You can use the CLI to upload an existing gallery to the Immich server