help with homarr in windows 11

I know this is not the official way to use/install homarr on windows, docker being the way to go, however all the other things i use (sonnarr, riddarr etc) ive installed without docker. I'm trying to use npm with yarn to build homarr using the instructions found here Run Homarr Application Dashboard on Windows (i12bretro.github.io) but am having difficulties getting it to work. Following the instructions it all goes smoothly until the command to # build homarr - yarn build. it leads to the following error being displayed C:\Program Files\homarr>yarn build - info Loaded env from C:\Program Files\homarr.env ❌ Invalid environment variables: { NEXT_PUBLIC_DEFAULT_COLOR_SCHEME: [ 'Invalid input' ] } - error Failed to load next.config.js, see more info here https://nextjs.org/docs/messages/next-config-error
Build error occurred
Error: Invalid environment variables at C:\Program Files\homarr\node_modules@t3-oss\env-nextjs\dist\index.js:1:903 at f (C:\Program Files\homarr\node_modules@t3-oss\env-nextjs\dist\index.js:1:1121) at P (C:\Program Files\homarr\node_modules@t3-oss\env-nextjs\dist\index.js:1:1520) at Object.<anonymous> (C:\Program Files\homarr\src\env.js:31:13) at Module._compile (node:internal/modules/cjs/loader:1358:14) at Module._extensions..js (node:internal/modules/cjs/loader:1416:10) at Module.load (node:internal/modules/cjs/loader:1208:32) at Module._load (node:internal/modules/cjs/loader:1024:12) at Module.require (node:internal/modules/cjs/loader:1233:19) at require (node:internal/modules/helpers:179:18)
This is obviously human error on my part somewhere, I'm kind of new to this sort of thing but if if anyone could please help me resolved this and get homarr working i would be extremely grateful..
7 Replies
Cakey Bot
Cakey Bot2mo ago
Thank you for submitting a support request. Depending on the volume of requests, our team should get in contact with you shortly.
⚠️ Please include the following details in your post or we may reject your request without further comment: - Log (See https://homarr.dev/docs/community/faq#how-do-i-open-the-console--log) - Operating system (Unraid, TrueNAS, Ubuntu, ...) - Exact Homarr version (eg. 0.15.0, not latest) - Configuration (eg. docker-compose, screenshot or similar. Use ``your-text`` to format) - Other relevant information (eg. your devices, your browser, ...)
❓ Frequently Asked Questions | Homarr documentation
Can I install Homarr on a Raspberry Pi?
Batt1epanda
Batt1epanda2mo ago
System - windows 11 pro Node.js - v20.13.1 Npm - v10.8.0 Yarn - v1.22.22 Homar - v0.15.3
Tag
Tag2mo ago
there's a space after the value in the .env file you need to remove
Batt1epanda
Batt1epanda2mo ago
I managed to get homarr working using v0.14.3, do i need to update to the latest version, if so how would i go about doing that?
Tag
Tag2mo ago
I don't know, that's not a supported setup. I'm just telling you the error you were having is this https://homarr.dev/docs/getting-started/installation#not-recommended-from-source This is the most information we have on the subject I would personally recommend to just install all apps in docker. Makes updating a lot easier
Batt1epanda
Batt1epanda2mo ago
thankyou i appreciate your help.
Tag
Tag2mo ago
Good luck 🙂