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

Jellyfin integration: Upstream migration to ESM let's compilation of Homarr fail #1007

Closed
4 tasks done
Spillebulle opened this issue Jun 5, 2023 · 0 comments · Fixed by #1016
Closed
4 tasks done
Assignees
Labels
🐛 Bug Something isn't working
Milestone

Comments

@Spillebulle
Copy link
Contributor

Environment

Docker

Version

1.12.2 Dev branch

Describe the problem

This has been working flawlessly so far but now suddenly it stopped working.

Double checked URL
Double checked plex token
Not sure what is wrong here

Mani said Homarr should be made ESM compatible (Don't know what that means)

Logs

2023-06-05T16:59:05.006507663Z file:///app/node_modules/@jellyfin/sdk/lib/generated-client/common.js:1
2023-06-05T16:59:05.006576072Z import { awaiter } from '../node_modules/tslib/tslib.es6.js';
2023-06-05T16:59:05.006623049Z ^^^^^^^^^
2023-06-05T16:59:05.006636139Z SyntaxError: Named export 'awaiter' not found. The requested module '../node_modules/tslib/tslib.es6.js' is a CommonJS module, which may not support all module.exports as named exports.
2023-06-05T16:59:05.006649078Z CommonJS modules can always be imported via the default export, for example using:
2023-06-05T16:59:05.006660812Z
2023-06-05T16:59:05.006672008Z import pkg from '../node_modules/tslib/tslib.es6.js';
2023-06-05T16:59:05.006683268Z const { __awaiter } = pkg;
2023-06-05T16:59:05.006694792Z
2023-06-05T16:59:05.006705605Z at ModuleJob._instantiate (node:internal/modules/esm/module_job:123:21)
2023-06-05T16:59:05.006717238Z at async ModuleJob.run (node:internal/modules/esm/module_job:189:5)
2023-06-05T16:59:05.006728515Z at async Promise.all (index 0)
2023-06-05T16:59:05.006739205Z at async ESMLoader.import (node:internal/modules/esm/loader:530:24)
2023-06-05T16:59:05.006750238Z at async importModuleDynamicallyWrapper (node:internal/vm/module:438:15)

Context

image

Please tick the boxes

  • I confirm that I attached the proper logs
  • I've read the docs
  • I've checked for duplicate issues
  • I've tried to debug myself
@Spillebulle Spillebulle added the 🐛 Bug Something isn't working label Jun 5, 2023
@manuel-rw manuel-rw changed the title Suddenly plex integration stopped working (Make Homarr compatible with ESM) Jellyfin integration: Upstream migration to ESM let's compilation of Homarr fail Jun 5, 2023
@manuel-rw manuel-rw self-assigned this Jun 5, 2023
@manuel-rw manuel-rw added this to the 0.12.3 milestone Jun 5, 2023
@manuel-rw manuel-rw linked a pull request Jun 7, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants