jellyfin / jellyfin-tizen

Jellyfin Samsung TV Client
https://jellyfin.org
937 stars 72 forks source link

Trouble Preparing Interface #275

Open denimolsen opened 3 months ago

denimolsen commented 3 months ago

Hey all, I'm at the "Prepare Interface" step for installing Tizen. Specifically the command below:

"cd jellyfin-tizen JELLYFIN_WEB_DIR=../jellyfin-web/dist npm ci --no-audit"

JELLYFIN_WEB_DIR=../jellyfin-web/dist works well, no errors after doing this, I even put in my full file path in case that was the issue.

The problem is with the "npm ci --no-audit" command. I am not recieving the www folder in the tizen folder after running this command, even with sudo (on macOS). The output I am seeing suggests:

"Error: ENOENT: no such file or directory, scandir '/Users/ddog/Documents/tizengeneral/jellyfin-tizen/node_modules/jellyfin-web/dist'"

I've added my terminal below:

Screenshot 2024-07-06 at 6 55 19 PM

Please let me know if you guys have any advice. I'm so close lol

dmitrylyzo commented 3 months ago

Not sure for Mac, but in Linux it's one command (run command with environment variable):

JELLYFIN_WEB_DIR=../jellyfin-web/dist npm ci --no-audit
Pegasus82 commented 2 months ago

Having the same error, just in Windows 11.

[00:15:26] 'copy' errored after 8.33 ms
[00:15:26] Error: ENOENT: no such file or directory, scandir 'C:\Users\User\jellyfin-tizen\node_modules\jellyfin-web\dist'
[00:15:26] 'default' errored after 20 ms
npm error code 1
npm error path C:\Users\User\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\User\AppData\Local\npm-cache\_logs\2024-07-08T23_15_23_131Z-debug-0.log

And the log ...

0 verbose cli C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js
1 info using npm@10.8.1
2 info using node@v22.3.0
3 silly config load:file:C:\Program Files\nodejs\node_modules\npm\npmrc
4 silly config load:file:C:\Users\User\jellyfin-tizen\.npmrc
5 silly config load:file:C:\Users\User\.npmrc
6 silly config load:file:C:\Users\User\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\User\AppData\Local\npm-cache\_logs\2024-07-08T23_15_23_131Z-
10 verbose logfile C:\Users\User\AppData\Local\npm-cache\_logs\2024-07-08T23_15_23_131Z-debug-0.log
11 silly packumentCache heap:4345298944 maxSize:1086324736 maxEntrySize:543162368
12 silly logfile start cleaning logs, removing 1 files
13 silly logfile done cleaning log files
14 silly idealTree buildDeps
15 silly reify moves {}
16 verbose reify failed optional dependency C:\Users\User\jellyfin-tizen\node_modules\fsevents
17 silly reify mark deleted [ 'C:\\Users\\User\\jellyfin-tizen\\node_modules\\fsevents' ]
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:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\promise-spawn\lib\index.js:22:22)
26 verbose stack     at spawnWithShell (C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\promise-spawn\lib\index.js:124:10)
26 verbose stack     at promiseSpawn (C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\promise-spawn\lib\index.js:12:12)
26 verbose stack     at runScriptPkg (C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\run-script\lib\run-script-pkg.js:77:13)
26 verbose stack     at runScript (C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\run-script\lib\run-script.js:12:10)
26 verbose stack     at async CI.exec (C:\Program Files\nodejs\node_modules\npm\lib\commands\ci.js:116:9)
26 verbose stack     at async Npm.exec (C:\Program Files\nodejs\node_modules\npm\lib\npm.js:207:9)
26 verbose stack     at async module.exports (C:\Program Files\nodejs\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\User\jellyfin-tizen
30 error command failed
31 error command C:\Windows\system32\cmd.exe /d /s /c gulp
32 verbose cwd C:\Users\User\jellyfin-tizen
33 verbose os Windows_NT 10.0.22631
34 verbose node v22.3.0
35 verbose npm  v10.8.1
36 verbose exit 1
37 verbose code 1
38 error A complete log of this run can be found in: C:\Users\User\AppData\Local\npm-cache\_logs\2024-07-08T23_15_23_131Z-debug-0.log
dmitrylyzo commented 2 months ago

@Pegasus82 use commands from wiki. Just in case, if you are using PowerShell, use commands from the collapsible blocks.