-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
'IcecastReadableStream' is not exported from 'icecast-metadata-js' (imported as 'IcecastReadableStream') #177
Comments
I changed the import declaration in
to
Adding the Also adding |
I cannot build the Nextjs project with
I removed the import declaration of the metadata player and tried to build the project, it succeeded. How could I use this package in a client-side component in Nextjs13? At the end, I export the nextjs project as static files to serve them over FTP. |
getting this error using Svelte with Vite as a preprocessor (standard sveltekit setup). unsure how to fix it, assuming forcing the browser version might work? I don't know how to do that though.
|
Checking in on this issue. Have you had a chance to try the suggestions I posted above? |
I attempted to translate those solutions into my own svelte project but unfortunately svelte doesn't really seem to work with anything like |
I'm not familiar at all with Svelte, but usually frameworks will have support to polyfill features, or they have ways to enable language features through configuration. Searching for this yielded this result that may help https://stackoverflow.com/a/71350674 As a last resort, maybe you can add IcecastMetadataPlayer in a separate script tag in some static HTML outside of your Svelte setup. |
Closing due to inactivity. |
I am trying to import IcecastMetadataPlayer in a Nextjs project but it whines with:
The text was updated successfully, but these errors were encountered: