HomarrH
Homarr3y ago
ryab

Failures building from source

I'm following the "Building from source" instructions here: https://homarr.dev/docs/introduction/installation

After cloning and changing to the new directory, I run yarn install, after ~1 minute it exits with failures (way more than would be helpful to post here). Trying to install with npm install instead also fails with errors:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: homarr@0.14.1
npm ERR! Found: i18next@22.5.1
npm ERR! node_modules/i18next
npm ERR!   i18next@"^22.5.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer i18next@"^23.4.6" from next-i18next@14.0.3
npm ERR! node_modules/next-i18next
npm ERR!   next-i18next@"^14.0.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! /home/<user>/.npm/_logs/2023-11-20T02_36_12_648Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: /home/<user>/.npm/_logs/2023-11-20T02_36_12_648Z-debug-0.log


I'm trying to build from source because docker-compose ends up in an infinite loop printing the following [sic]:
homarr    | ℹ Database is writeable
homarr    | ℹ Instance is using a database on the file system. Checking if file '/data/db.sqlite' is writable...
homarr    | ℹ Instance is using a database on the file system. Checking if file '/data/db.sqlite' is writable...
homarr    | ℹ Instance is using a database on the file system. Checking if file '/data/db.sqlite' is writable...
homarr    | ℹ Database is writeable
homarr    | ℹ Instance is using a database on the file system. Checking if file '/data/db.sqlite' is writable...
homarr    | ℹ Database is writeable
Homarr can be installed in many ways. For most users, Installation using Docker will be sufficient and the easiest.
Was this page helpful?