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

Updated the new tizen, reinstall the jellyfin, access is denied #317

Open
mortyhk opened this issue Dec 6, 2024 · 3 comments
Open

Updated the new tizen, reinstall the jellyfin, access is denied #317

mortyhk opened this issue Dec 6, 2024 · 3 comments

Comments

@mortyhk
Copy link

mortyhk commented Dec 6, 2024

PS C:\jellyfin\jellyfin-tizen> $env:JELLYFIN_WEB_DIR="../jellyfin-web/dist"
PS C:\jellyfin\jellyfin-tizen> npm ci --no-audit
(node:25620) ExperimentalWarning: CommonJS module C:\Users\Morty\AppData\Roaming\npm\node_modules\npm\node_modules\debug\src\node.js is loading ES Module C:\Users\Morty\AppData\Roaming\npm\node_modules\npm\node_modules\supports-color\index.js using require().
Support for loading ES Module in require() is an experimental feature and might change at any time
(Use node --trace-warnings ... to show where the warning was created)
npm WARN deprecated [email protected]: request-promise-native has been deprecated because it extends the now deprecated request package, see request/request#3142
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: Use your platform's native DOMException instead
npm WARN deprecated [email protected]: Use your platform's native atob() and btoa() methods instead
npm WARN deprecated [email protected]: Use your platform's native performance.now() and performance.timeOrigin.
npm WARN deprecated [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm 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.
npm WARN deprecated [email protected]: request has been deprecated, see request/request#3142

[email protected] postinstall
gulp

[02:10:37] Loaded external module: @babel/register
Error: Cannot find module '@babel/preset-env'
Require stack:

  • C:\jellyfin\jellyfin-tizen\node_modules@babel\core\lib\config\files\plugins.js
  • C:\jellyfin\jellyfin-tizen\node_modules@babel\core\lib\config\files\index.js
  • C:\jellyfin\jellyfin-tizen\node_modules@babel\core\lib\index.js
  • C:\jellyfin\jellyfin-tizen\node_modules@babel\register\lib\worker\babel-core.js
  • C:\jellyfin\jellyfin-tizen\node_modules@babel\register\lib\worker\handle-message.js
  • C:\jellyfin\jellyfin-tizen\node_modules@babel\register\lib\worker-client.js
  • C:\jellyfin\jellyfin-tizen\node_modules@babel\register\lib\node.js
  • C:\jellyfin\jellyfin-tizen\node_modules@babel\register\lib\nodeWrapper.js
  • C:\jellyfin\jellyfin-tizen\node_modules@babel\register\lib\index.js
  • C:\jellyfin\jellyfin-tizen\node_modules\rechoir\lib\register.js
  • C:\jellyfin\jellyfin-tizen\node_modules\rechoir\index.js
  • C:\jellyfin\jellyfin-tizen\node_modules\liftoff\lib\register_loader.js
  • C:\jellyfin\jellyfin-tizen\node_modules\liftoff\index.js
  • C:\jellyfin\jellyfin-tizen\node_modules\gulp-cli\index.js
  • C:\jellyfin\jellyfin-tizen\node_modules\gulp\bin\gulp.js

Make sure that all the Babel plugins and presets you are using
are defined as dependencies or devDependencies in your package.json
file. It's possible that the missing plugin is loaded by a preset
you are using that forgot to add the plugin to its dependencies: you
can workaround this problem by explicitly adding the missing package
to your top-level package.json.

at Function._resolveFilename (node:internal/modules/cjs/loader:1239:15)
at resolve (node:internal/modules/helpers:146:19)
at tryRequireResolve (C:\jellyfin\jellyfin-tizen\node_modules\@babel\core\lib\config\files\plugins.js:121:11)
at resolveStandardizedNameForRequire (C:\jellyfin\jellyfin-tizen\node_modules\@babel\core\lib\config\files\plugins.js:155:19)
at resolveStandardizedName (C:\jellyfin\jellyfin-tizen\node_modules\@babel\core\lib\config\files\plugins.js:170:12)
at loadPreset (C:\jellyfin\jellyfin-tizen\node_modules\@babel\core\lib\config\files\plugins.js:61:20)
at loadPreset.next (<anonymous>)
at createDescriptor (C:\jellyfin\jellyfin-tizen\node_modules\@babel\core\lib\config\config-descriptors.js:140:16)
at createDescriptor.next (<anonymous>)
at evaluateSync (C:\jellyfin\jellyfin-tizen\node_modules\gensync\index.js:251:28)
at C:\jellyfin\jellyfin-tizen\node_modules\gensync\index.js:31:34
at Array.map (<anonymous>)
at Function.sync (C:\jellyfin\jellyfin-tizen\node_modules\gensync\index.js:31:22)
at Function.all (C:\jellyfin\jellyfin-tizen\node_modules\gensync\index.js:210:24)
at Generator.next (<anonymous>)
at createDescriptors (C:\jellyfin\jellyfin-tizen\node_modules\@babel\core\lib\config\config-descriptors.js:102:41)
at createDescriptors.next (<anonymous>)
at createPresetDescriptors (C:\jellyfin\jellyfin-tizen\node_modules\@babel\core\lib\config\config-descriptors.js:96:17)
at createPresetDescriptors.next (<anonymous>)
at C:\jellyfin\jellyfin-tizen\node_modules\@babel\core\lib\config\config-descriptors.js:57:32
at Generator.next (<anonymous>)
at Function.<anonymous> (C:\jellyfin\jellyfin-tizen\node_modules\@babel\core\lib\gensync-utils\async.js:21:3)
at Generator.next (<anonymous>)
at evaluateSync (C:\jellyfin\jellyfin-tizen\node_modules\gensync\index.js:251:28)
at Function.sync (C:\jellyfin\jellyfin-tizen\node_modules\gensync\index.js:89:14)
at sync (C:\jellyfin\jellyfin-tizen\node_modules\@babel\core\lib\gensync-utils\async.js:61:25)
at sync (C:\jellyfin\jellyfin-tizen\node_modules\gensync\index.js:182:19)
at onFirstPause (C:\jellyfin\jellyfin-tizen\node_modules\gensync\index.js:210:24)
at Generator.next (<anonymous>)
at cachedFunction (C:\jellyfin\jellyfin-tizen\node_modules\@babel\core\lib\config\caching.js:52:46)
at cachedFunction.next (<anonymous>)
at mergeChainOpts (C:\jellyfin\jellyfin-tizen\node_modules\@babel\core\lib\config\config-chain.js:350:34)
at mergeChainOpts.next (<anonymous>)
at chainWalker (C:\jellyfin\jellyfin-tizen\node_modules\@babel\core\lib\config\config-chain.js:316:14)
at chainWalker.next (<anonymous>)
at buildRootChain (C:\jellyfin\jellyfin-tizen\node_modules\@babel\core\lib\config\config-chain.js:56:36)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig (C:\jellyfin\jellyfin-tizen\node_modules\@babel\core\lib\config\partial.js:72:62)
at loadPrivatePartialConfig.next (<anonymous>)
at loadFullConfig (C:\jellyfin\jellyfin-tizen\node_modules\@babel\core\lib\config\full.js:36:46)
at loadFullConfig.next (<anonymous>)
at loadOptionsImpl (C:\jellyfin\jellyfin-tizen\node_modules\@babel\core\lib\config\index.js:52:43)
at loadOptionsImpl.next (<anonymous>)
at evaluateSync (C:\jellyfin\jellyfin-tizen\node_modules\gensync\index.js:251:28)
at sync (C:\jellyfin\jellyfin-tizen\node_modules\gensync\index.js:89:14)
at stopHiding - secret - don't use this - v1 (C:\jellyfin\jellyfin-tizen\node_modules\@babel\core\lib\errors\rewrite-stack-trace.js:47:12)
at loadOptionsSync (C:\jellyfin\jellyfin-tizen\node_modules\@babel\core\lib\config\index.js:60:78)
at OptionManager.init (C:\jellyfin\jellyfin-tizen\node_modules\@babel\core\lib\index.js:233:42)
at exports.transformSync (C:\jellyfin\jellyfin-tizen\node_modules\@babel\register\lib\worker\transform.js:67:44)
at LocalClient.handleMessage (C:\jellyfin\jellyfin-tizen\node_modules\@babel\register\lib\worker\handle-message.js:18:16) {

code: 'MODULE_NOT_FOUND',
requireStack: [
'C:\jellyfin\jellyfin-tizen\node_modules\@babel\core\lib\config\files\plugins.js',
'C:\jellyfin\jellyfin-tizen\node_modules\@babel\core\lib\config\files\index.js',
'C:\jellyfin\jellyfin-tizen\node_modules\@babel\core\lib\index.js',
'C:\jellyfin\jellyfin-tizen\node_modules\@babel\register\lib\worker\babel-core.js',
'C:\jellyfin\jellyfin-tizen\node_modules\@babel\register\lib\worker\handle-message.js',
'C:\jellyfin\jellyfin-tizen\node_modules\@babel\register\lib\worker-client.js',
'C:\jellyfin\jellyfin-tizen\node_modules\@babel\register\lib\node.js',
'C:\jellyfin\jellyfin-tizen\node_modules\@babel\register\lib\nodeWrapper.js',
'C:\jellyfin\jellyfin-tizen\node_modules\@babel\register\lib\index.js',
'C:\jellyfin\jellyfin-tizen\node_modules\rechoir\lib\register.js',
'C:\jellyfin\jellyfin-tizen\node_modules\rechoir\index.js',
'C:\jellyfin\jellyfin-tizen\node_modules\liftoff\lib\register_loader.js',
'C:\jellyfin\jellyfin-tizen\node_modules\liftoff\index.js',
'C:\jellyfin\jellyfin-tizen\node_modules\gulp-cli\index.js',
'C:\jellyfin\jellyfin-tizen\node_modules\gulp\bin\gulp.js'
]
}
npm ERR! code 1
npm ERR! path C:\jellyfin\jellyfin-tizen
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c gulp

cant get the jellyfin-tizen/www/

@kookaburra69
Copy link

Same issue with on a fresh install
Error: Cannot find module '@babel/preset-env'

@dmitrylyzo
Copy link
Collaborator

Use NodeJS 22 or add @babel/preset-env module (#296).

@mortyhk
Copy link
Author

mortyhk commented Dec 7, 2024

Same issue with on a fresh install Error: Cannot find module '@babel/preset-env'

cd jellyfin-tizen
npm install --save-dev @babel/preset-env
$env:JELLYFIN_WEB_DIR='../jellyfin-web/dist'
npm ci --no-audit

it works for me

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