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

REPL: "noop" is not exported by "https://unpkg.com/[email protected]/internal/index.js" #553

Closed
powellnorma opened this issue Feb 16, 2024 · 2 comments

Comments

@powellnorma
Copy link

Full error:

"noop" is not exported by "https://unpkg.com/[email protected]/internal/index.js", imported by "https://unpkg.com/[email protected]/store/index.mjs".

Happens e.g. here:
https://svelte.dev/repl/6dfa9e69a65243b0bbc44d66d91b8325?version=3.17.1

But not on newer versions:
https://svelte.dev/repl/6dfa9e69a65243b0bbc44d66d91b8325?version=4.2.11

image

@Conduitry
Copy link
Member

This was fixed in Svelte 3.29.5 in sveltejs/svelte#5624 over three years ago. I don't think we need to make the REPL's bundling code still accommodate the broken packages in older versions of Svelte 3.

@Conduitry Conduitry closed this as not planned Won't fix, can't repro, duplicate, stale Feb 16, 2024
@powellnorma
Copy link
Author

powellnorma commented Feb 16, 2024

@Conduitry I see, however please note that this often means that older links just seem to be "broken", and there is no hint of "try again with newer version". E.g. google often still references such links:

image

Or GitHub Discussions, e.g. basically all links used here: sveltejs/svelte#4285

Perhaps as a simple workaround we could just automatically use the next nearest working svelte version in such cases?

It could (potentially) be interesting to support older versions when wanting to compare behavior changes of different svelte versions, though.

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

2 participants