Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble Preparing Interface #275

Open
denimolsen opened this issue Jul 7, 2024 · 3 comments
Open

Trouble Preparing Interface #275

denimolsen opened this issue Jul 7, 2024 · 3 comments

Comments

@denimolsen
Copy link

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
Copy link
Collaborator

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
Copy link

Pegasus82 commented Jul 8, 2024

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 [email protected]
2 info using [email protected]
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 [email protected]: 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 [email protected]: this library is no longer supported
20 warn deprecated [email protected]: Use your platform's native DOMException instead
21 warn deprecated [email protected]: Use your platform's native atob() and btoa() methods instead
22 warn deprecated [email protected]: Use your platform's native performance.now() and performance.timeOrigin.
23 warn deprecated [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
24 warn deprecated [email protected]: 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 [email protected]: 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 [email protected]
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
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants