jellyfin / jellyfin-tizen

Jellyfin Samsung TV Client
https://jellyfin.org
863 stars 69 forks source link

npm run build:production does not complete #189

Closed booze87 closed 1 year ago

booze87 commented 1 year ago

Hey, I'm trying to build jellyfin-web under windows but it won't let me complete the .sh

$ npm run build:production

jellyfin-web@10.8.9 build:production webpack --config webpack.prod.js

<--- Last few GCs --->

[10496:09E848B0] 66723 ms: Mark-sweep (reduce) 647.7 (712.6) -> 642.0 (690.2) MB, 1412.2 / 0.0 ms (average mu = 0.693, current mu = 0.051) last resort; GC in old space requested [10496:09E848B0] 67942 ms: Mark-sweep (reduce) 642.0 (690.2) -> 641.9 (679.4) MB, 1218.5 / 0.0 ms (average mu = 0.534, current mu = 0.000) last resort; GC in old space requested

<--- JS stacktrace --->

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory

tried to set env var NODE_OPTIONS to --max-old-space-size=4096 but without success.

Maybe someoe has a hint? Thanks!

LadyHaley commented 1 year ago

I have experienced the same issue

Ritchie1108 commented 1 year ago

try use this https://github.com/Ritchie1108/jellyfin-tizen-build

booze87 commented 1 year ago

try use this https://github.com/Ritchie1108/jellyfin-tizen-build

Found that also and it did the trick. Thanks a lot