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

ReferenceError: self is not defined #420

Open
tobycm opened this issue Jun 11, 2022 · 1 comment
Open

ReferenceError: self is not defined #420

tobycm opened this issue Jun 11, 2022 · 1 comment

Comments

@tobycm
Copy link

tobycm commented Jun 11, 2022

Have this error when trying to import apiclient

Code:

import apiclient from "jellyfin-apiclient";

console.log(apiclient("some url"))

Only jellyfin-apiclient module is installed from npm
Installing from source yield the same thing

Node v16.13.2
npm v8.8.0

@dkanada
Copy link
Member

dkanada commented Jun 11, 2022

If you're using this in a new project I would highly suggest the new TypeScript SDK from @thornbill which is slated to eventually replace this library.

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

No branches or pull requests

2 participants