ajnart / homarr

Customizable browser's home page to interact with your homeserver's Docker containers (e.g. Sonarr/Radarr)
https://homarr.dev
MIT License
6.02k stars 275 forks source link

Changing from english to norwegian crashes homarr: Internal server error #1859

Closed Spillebulle closed 8 months ago

Spillebulle commented 8 months ago

Environment

Docker

Version

Dev

Describe the problem

Tried to change language from english to norwegian and get internal server error. I changed it to Norwegian in the User preferences

Logs

2024-01-27T13:20:09.885661365Z Error: Cannot find module './no.js' 2024-01-27T13:20:09.885703958Z at webpackContextResolve (/app/.next/server/chunks/5535.js:161:11) 2024-01-27T13:20:09.885717605Z at webpackContext (/app/.next/server/chunks/5535.js:156:11) 2024-01-27T13:20:09.885729235Z at App (/app/.next/server/chunks/5535.js:6166:61) 2024-01-27T13:20:09.885765085Z at Wc (/app/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:68:44) 2024-01-27T13:20:09.885778088Z at Zc (/app/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:70:253) 2024-01-27T13:20:09.885789591Z at Z (/app/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89) 2024-01-27T13:20:09.885801008Z at Zc (/app/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:70:481) 2024-01-27T13:20:09.885812061Z at Z (/app/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89) 2024-01-27T13:20:09.885823428Z at Zc (/app/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:74:209) 2024-01-27T13:20:09.885842887Z at Z (/app/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89) { 2024-01-27T13:20:09.885854344Z code: 'MODULE_NOT_FOUND' 2024-01-27T13:20:09.885865267Z }

Context

image

Please tick the boxes

ajnart commented 8 months ago

Does this happen in the demo?

Spillebulle commented 8 months ago

@manuel-rw

Spillebulle commented 8 months ago

Does this happen in the demo?

Demo keeps asking me to log into crowdin image

Spillebulle commented 8 months ago

Recreating and restarting the container does not help, still internal server error If I recreate with /latest it also still says the same

ajnart commented 8 months ago

You're right, that's strange it has not been reported before.

Meierschlumpf commented 8 months ago

I guess this happens because the dayjs translation for our norwegian translation does not work

Meierschlumpf commented 8 months ago

image

image

First image is from dayjs repository, second from our language.ts file

manuel-rw commented 8 months ago

image Working on this 👍