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

Failed to import - https://esm.sh/v135/@jsr/[email protected]+2 #924

Open
effigies opened this issue Nov 22, 2024 · 0 comments
Open

Failed to import - https://esm.sh/v135/@jsr/[email protected]+2 #924

effigies opened this issue Nov 22, 2024 · 0 comments
Labels
browser Not working in Browser

Comments

@effigies
Copy link

Failing module

import { schema } from 'https://esm.sh/v135/@jsr/[email protected]+2'

https://esm.sh/v135/@jsr/[email protected]+2 redirects to https://esm.sh/v135/@jsr/[email protected]%202?target=es2022, where %20 is a space, not a plus (%2b).

Error message

Unfortunately, I attempted to load another version in the same tab as https://esm.sh/v135/@jsr/[email protected]%202?target=es2022, and now this URL returns a 520 error instead of the text.

The error code I got was ERR_PNPM_NO_MATCHING_VERSION, and the problem seems likely to be related to the substitution of plus for space.

Additional info

This problem is server-side and the 520 error exhibits in curl, and is not browser dependent.

@effigies effigies added the browser Not working in Browser label Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
browser Not working in Browser
Projects
None yet
Development

No branches or pull requests

1 participant