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

Esm.sh randomly sends no content for mjs file extension #634

Closed
renhiyama opened this issue May 16, 2023 · 9 comments
Closed

Esm.sh randomly sends no content for mjs file extension #634

renhiyama opened this issue May 16, 2023 · 9 comments

Comments

@renhiyama
Copy link
Contributor

Example: Screenshot

URLs example:

These above URLs work fine when using esm.sh v120 and older versions.

@renhiyama
Copy link
Contributor Author

Some URLs at v120 are affected too. Like https://esm.sh/v120/[email protected]/node/is-unicode-supported.mjs serves nothing. v119 serves data back.

@renhiyama
Copy link
Contributor Author

I would suggest anyone to use v119 for now if their packages are affected with this bug. I didn't see any bugs for v119 till now.

@renhiyama renhiyama changed the title Esm.sh v121 sends no content for mjs file extension Esm.sh v120 & v121 sends no content for mjs file extension May 16, 2023
@renhiyama
Copy link
Contributor Author

Even sometimes v119 causes this issue: https://esm.sh/v119/[email protected]/node/bl.mjs

@renhiyama
Copy link
Contributor Author

@mradamwalters
Copy link

Hi @renhiyama - thank you for your comments on issue 633. It looks like this problem is cache/location specific - those URLs you posted are working for me - i.e. I get file content returned for these URLs.

https://esm.sh/v118/[email protected]/node/onetime.mjs
https://esm.sh/v119/[email protected]/node/bl.mjs
https://esm.sh/v121/[email protected]/node/signal-exit.mjs
https://esm.sh/v121/[email protected]/node/mri.mjs

@renhiyama
Copy link
Contributor Author

So maybe it's cloudflare config issue and not esm.sh server building and serving issue?

@renhiyama renhiyama changed the title Esm.sh v120 & v121 sends no content for mjs file extension Esm.sh randomly sends no content for mjs file extension May 16, 2023
@ije
Copy link
Member

ije commented May 16, 2023

just opened your links, they work for me too

@mradamwalters
Copy link

Hi @renhiyama yes it sounds like it might be that. Different from 633 in that you are seeing no content returned, but with the js links I am seeing the "esm.sh - error" 2-line content.

@ije
Copy link
Member

ije commented May 17, 2023

i don't think this is an issue of esm.sh, check your isp(network) or system proxy

@ije ije closed this as completed May 17, 2023
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

3 participants