2024-10-11, 02:21 PM
Trying to make the app for samsungtv and follows this:
https://github.com/jellyfin/jellyfin-tiz...on-Windows
What am I doing wrong?
Can't get jellyfin-tizen/www/ directory
Log.file
https://github.com/jellyfin/jellyfin-tiz...on-Windows
What am I doing wrong?
Can't get jellyfin-tizen/www/ directory
Code:
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows
PS C:\Users\morga\Desktop\jellyfin> git -v
git version 2.47.0.windows.1
PS C:\Users\morga\Desktop\jellyfin> node -v
v20.18.0
PS C:\Users\morga\Desktop\jellyfin> yarn -v
1.22.22
PS C:\Users\morga\Desktop\jellyfin> npm -v
10.9.0
PS C:\Users\morga\Desktop\jellyfin> git clone -b release-10.9.z https://github.com/jellyfin/jellyfin-web.git
Cloning into 'jellyfin-web'...
remote: Enumerating objects: 242381, done.
remote: Counting objects: 100% (24/24), done.
remote: Compressing objects: 100% (17/17), done.
remote: Total 242381 (delta 10), reused 14 (delta 7), pack-reused 242357 (from 1)
Receiving objects: 100% (242381/242381), 163.43 MiB | 23.20 MiB/s, done.
Resolving deltas: 100% (169698/169698), done.
PS C:\Users\morga\Desktop\jellyfin> git clone https://github.com/jellyfin/jellyfin-tizen.git
Cloning into 'jellyfin-tizen'...
remote: Enumerating objects: 391, done.
remote: Counting objects: 100% (238/238), done.
remote: Compressing objects: 100% (136/136), done.
remote: Total 391 (delta 131), reused 142 (delta 93), pack-reused 153 (from 1)
Receiving objects: 100% (391/391), 278.91 KiB | 2.88 MiB/s, done.
Resolving deltas: 100% (199/199), done.
PS C:\Users\morga\Desktop\jellyfin> cd jellyfin-web
PS C:\Users\morga\Desktop\jellyfin\jellyfin-web> set SKIP_PREPARE=1
PS C:\Users\morga\Desktop\jellyfin\jellyfin-web> set USE_SYSTEM_FONTS=1
PS C:\Users\morga\Desktop\jellyfin\jellyfin-web> npm ci --no-audit
npm warn deprecated @types/localforage@0.0.34: This is a stub types definition for localforage (https://github.com/localForage/localForage). localforage provides its own type definitions, so you don't need @types/localforage installed!
npm warn deprecated @types/vfile-message@2.0.0: This is a stub types definition. vfile-message provides its own type definitions, so you do not need this installed.
npm warn deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm warn deprecated flatten@1.0.3: flatten is deprecated in favor of utility frameworks such as lodash.
npm warn deprecated @stylelint/postcss-markdown@0.36.2: Use the original unforked package instead: postcss-markdown
npm warn deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm warn deprecated browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm warn deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm warn deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm warn deprecated @stylelint/postcss-css-in-js@0.37.3: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
added 1803 packages in 50s
PS C:\Users\morga\Desktop\jellyfin\jellyfin-web> npm run build:production
> jellyfin-web@10.9.11 build:production
> cross-env NODE_ENV="production" webpack --config webpack.prod.js
Browserslist: caniuse-lite is outdated. Please run:
npx update-browserslist-db@latest
Why you should do it regularly: https://github.com/browserslist/update-db#readme
[BABEL] Note: The code generator has deoptimised the styling of C:\Users\morga\Desktop\jellyfin\jellyfin-web\node_modules\pdfjs-dist\build\pdf.js as it exceeds the max of 500KB.
assets by info 38.9 MiB [immutable] 2097 assets
assets by path *.css 1.7 MiB 152 assets
assets by path assets/ 834 KiB 48 assets
assets by path themes/ 134 KiB 17 assets
assets by path libraries/ 8.9 MiB
assets by status 8.62 MiB [big] 5 assets
+ 4 assets
assets by path *.ts 20.4 KiB
asset apiclient.d.ts 19.8 KiB [emitted] [from: apiclient.d.ts] [copied]
+ 2 assets
assets by path *.tsx 2.38 KiB
asset RootAppRouter.tsx 1.63 KiB [emitted] [from: RootAppRouter.tsx] [copied]
asset RootApp.tsx 759 bytes [emitted] [from: RootApp.tsx] [copied]
+ 45 assets
Entrypoint main.jellyfin [big] 2.52 MiB (23 KiB) = 33 assets 1 auxiliary asset
Entrypoint serviceworker 218 KiB = runtime.bundle.js 44.7 KiB node_modules.core-js.bundle.js 173 KiB serviceworker.js 768 bytes
orphan modules 15.4 MiB (javascript) 24.5 MiB (asset) 84.3 KiB (runtime) [orphan] 14875 modules
runtime modules 54.7 KiB 15 modules
built modules 24.7 MiB (javascript) 1.27 MiB (css/mini-extract) 46.9 KiB (asset) [built]
modules by path ../node_modules/ 14.9 MiB (javascript) 158 KiB (css/mini-extract)
javascript modules 14.9 MiB 1957 modules
json modules 30 KiB 4 modules
css modules 158 KiB 3 modules
modules by path ./ 9.83 MiB (javascript) 1.12 MiB (css/mini-extract) 46.9 KiB (asset)
javascript modules 4 MiB 446 modules
json modules 5.82 MiB 92 modules
css modules 1.12 MiB 83 modules
asset modules 126 bytes (javascript) 46.9 KiB (asset) 3 modules
+ 6 modules
WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
698bd8550d863c20a3e1.ttf (339 KiB)
main.jellyfin.bundle.js (481 KiB)
43091.css (967 KiB)
node_modules.@jellyfin.sdk.bundle.js (597 KiB)
node_modules.@mui.material.bundle.js (287 KiB)
libraries/subtitles-octopus-worker.js (352 KiB)
libraries/pdf.worker.js (1 MiB)
libraries/subtitles-octopus-worker.wasm (2.18 MiB)
libraries/subtitles-octopus-worker-legacy.js (4.25 MiB)
libraries/wasm-gen/libarchive.wasm (875 KiB)
ta-json.ecb420d7b47cdc10df87.chunk.js (257 KiB)
node_modules.@mui.x-data-grid.d16d629f2abd61a21fbe.chunk.js (285 KiB)
node_modules.hls.js.970a5cb5618e7282c138.chunk.js (403 KiB)
node_modules.pdfjs-dist.d3ff4a3bc70e9aaf05d9.chunk.js (422 KiB)
WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
main.jellyfin (2.52 MiB)
runtime.bundle.js
node_modules.@jellyfin.sdk.bundle.js
node_modules.@babel.runtime.bundle.js
node_modules.@mui.material.bundle.js
node_modules.@mui.system.bundle.js
node_modules.@mui.base.bundle.js
node_modules.@mui.icons-material.bundle.js
node_modules.date-fns.esm.bundle.js
node_modules.@mui.utils.bundle.js
node_modules.@tanstack.query-core.bundle.js
node_modules.lodash-es.bundle.js
node_modules.@tanstack.react-query.bundle.js
node_modules.core-js.bundle.js
node_modules.@popperjs.core.bundle.js
node_modules.axios.bundle.js
node_modules.react-transition-group.bundle.js
node_modules.react-dom.bundle.js
node_modules.jquery.bundle.js
node_modules.@emotion.react.bundle.js
node_modules.webcomponents.js.bundle.js
node_modules.resize-observer-polyfill.bundle.js
node_modules.regenerator-runtime.bundle.js
node_modules.jellyfin-apiclient.bundle.js
node_modules.intersection-observer.bundle.js
node_modules.history.bundle.js
node_modules.dompurify.bundle.js
node_modules.react-router.bundle.js
node_modules.react-router-dom.bundle.js
node_modules.@remix-run.router.bundle.js
60232.css
60232.bundle.js
main.jellyfin.css
main.jellyfin.bundle.js
webpack 5.91.0 compiled with 2 warnings in 140167 ms
PS C:\Users\morga\Desktop\jellyfin\jellyfin-web> cd ..
PS C:\Users\morga\Desktop\jellyfin> cd jellyfin-tizen
PS C:\Users\morga\Desktop\jellyfin\jellyfin-tizen> set JELLYFIN_WEB_DIR=C:\jellyfin\jellyfin-web\dist
PS C:\Users\morga\Desktop\jellyfin\jellyfin-tizen> npm ci --no-audit
npm warn deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm warn deprecated har-validator@5.1.5: this library is no longer supported
npm warn deprecated domexception@1.0.1: Use your platform's native DOMException instead
npm warn deprecated abab@2.0.5: Use your platform's native atob() and btoa() methods instead
npm warn deprecated w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin.
npm warn deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm warn deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm warn deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
> jellyfin-tizen@0.1.0 postinstall
> gulp
[16:03:15] Loaded external module: @babel/register
Using jellyfin-web from C:\Users\morga\Desktop\jellyfin\jellyfin-tizen\node_modules\jellyfin-web\dist
[16:03:17] Using gulpfile ~\Desktop\jellyfin\jellyfin-tizen\gulpfile.babel.js
[16:03:17] Starting 'default'...
[16:03:17] Starting 'clean'...
[16:03:17] Finished 'clean' after 8.97 ms
[16:03:17] Starting 'searchFonts'...
[16:03:17] Finished 'searchFonts' after 947 μs
[16:03:17] Starting 'copy'...
[16:03:17] Starting 'modifyIndex'...
[16:03:17] 'copy' errored after 10 ms
[16:03:17] Error: ENOENT: no such file or directory, scandir 'C:\Users\morga\Desktop\jellyfin\jellyfin-tizen\node_modules\jellyfin-web\dist'
[16:03:17] 'default' errored after 28 ms
npm error code 1
npm error path C:\Users\morga\Desktop\jellyfin\jellyfin-tizen
npm error command failed
npm error command C:\WINDOWS\system32\cmd.exe /d /s /c gulp
npm error A complete log of this run can be found in: C:\Users\morga\AppData\Local\npm-cache\_logs\2024-10-11T14_03_12_905Z-debug-0.log
PS C:\Users\morga\Desktop\jellyfin\jellyfin-tizen>
Log.file
Code:
0 verbose cli C:\Program Files\nodejs\node.exe C:\Users\morga\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js
1 info using npm@10.9.0
2 info using node@v20.18.0
3 silly config load:file:C:\Users\morga\AppData\Roaming\npm\node_modules\npm\npmrc
4 silly config load:file:C:\Users\morga\Desktop\jellyfin\jellyfin-tizen\.npmrc
5 silly config load:file:C:\Users\morga\.npmrc
6 silly config load:file:C:\Users\morga\AppData\Roaming\npm\etc\npmrc
7 verbose title npm ci
8 verbose argv "ci" "--no-audit"
9 verbose logfile logs-max:10 dir:C:\Users\morga\AppData\Local\npm-cache\_logs\2024-10-11T14_03_12_905Z-
10 verbose logfile C:\Users\morga\AppData\Local\npm-cache\_logs\2024-10-11T14_03_12_905Z-debug-0.log
11 silly logfile start cleaning logs, removing 1 files
12 silly packumentCache heap:2197815296 maxSize:549453824 maxEntrySize:274726912
13 silly logfile done cleaning log files
14 silly idealTree buildDeps
15 silly reify moves {}
16 verbose reify failed optional dependency C:\Users\morga\Desktop\jellyfin\jellyfin-tizen\node_modules\fsevents
17 silly reify mark deleted [
17 silly reify 'C:\\Users\\morga\\Desktop\\jellyfin\\jellyfin-tizen\\node_modules\\fsevents'
17 silly reify ]
18 warn deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
19 warn deprecated har-validator@5.1.5: this library is no longer supported
20 warn deprecated domexception@1.0.1: Use your platform's native DOMException instead
21 warn deprecated abab@2.0.5: Use your platform's native atob() and btoa() methods instead
22 warn deprecated w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin.
23 warn deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
24 warn deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
25 warn deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
26 verbose stack Error: command failed
26 verbose stack at promiseSpawn (C:\Users\morga\AppData\Roaming\npm\node_modules\npm\node_modules\@npmcli\promise-spawn\lib\index.js:22:22)
26 verbose stack at spawnWithShell (C:\Users\morga\AppData\Roaming\npm\node_modules\npm\node_modules\@npmcli\promise-spawn\lib\index.js:124:10)
26 verbose stack at promiseSpawn (C:\Users\morga\AppData\Roaming\npm\node_modules\npm\node_modules\@npmcli\promise-spawn\lib\index.js:12:12)
26 verbose stack at runScriptPkg (C:\Users\morga\AppData\Roaming\npm\node_modules\npm\node_modules\@npmcli\run-script\lib\run-script-pkg.js:77:13)
26 verbose stack at runScript (C:\Users\morga\AppData\Roaming\npm\node_modules\npm\node_modules\@npmcli\run-script\lib\run-script.js:12:10)
26 verbose stack at async CI.exec (C:\Users\morga\AppData\Roaming\npm\node_modules\npm\lib\commands\ci.js:116:9)
26 verbose stack at async Npm.exec (C:\Users\morga\AppData\Roaming\npm\node_modules\npm\lib\npm.js:207:9)
26 verbose stack at async module.exports (C:\Users\morga\AppData\Roaming\npm\node_modules\npm\lib\cli\entry.js:74:5)
27 verbose pkgid jellyfin-tizen@0.1.0
28 error code 1
29 error path C:\Users\morga\Desktop\jellyfin\jellyfin-tizen
30 error command failed
31 error command C:\WINDOWS\system32\cmd.exe /d /s /c gulp
32 verbose cwd C:\Users\morga\Desktop\jellyfin\jellyfin-tizen
33 verbose os Windows_NT 10.0.22631
34 verbose node v20.18.0
35 verbose npm v10.9.0
36 verbose exit 1
37 verbose code 1
38 error A complete log of this run can be found in: C:\Users\morga\AppData\Local\npm-cache\_logs\2024-10-11T14_03_12_905Z-debug-0.log