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 bundle graphql@16.7.1 using Rollup v2.79.1 when using esm flag #18513

Open
3 tasks done
jre0 opened this issue Jul 16, 2023 · 0 comments
Open
3 tasks done

Failed to bundle graphql@16.7.1 using Rollup v2.79.1 when using esm flag #18513

jre0 opened this issue Jul 16, 2023 · 0 comments

Comments

@jre0
Copy link

jre0 commented Jul 16, 2023

Description

Requesting graphql@16.7.1 results in bundling failure. It was working for weeks before the link began returning the error. To reproduce the error, navigate to https://cdn.jsdelivr.net/npm/graphql@16.7.1/+esm
However, graphql@16.6.0 at https://cdn.jsdelivr.net/npm/graphql@16.6.0/+esm works correctly.
Please let me know if there is a general way to handle this kind of issue.

/**

  • Failed to bundle using Rollup v2.79.1.
  • If you believe this to be an issue with jsDelivr, and not with the package itself, please open an issue at https://github.com/jsdelivr/jsdelivr
    */

throw new Error('Failed to bundle using Rollup v2.79.1. If you believe this to be an issue with jsDelivr, and not with the package itself, please open an issue at https://github.com/jsdelivr/jsdelivr');

Affected jsDelivr links

https://cdn.jsdelivr.net/npm/graphql@16.7.1/+esm

Response headers

Accept-Ranges:
bytes
Access-Control-Allow-Origin:
*
Access-Control-Expose-Headers:
*
Age:
1404433
Alt-Svc:
h3=":443";ma=86400,h3-29=":443";ma=86400,h3-27=":443";ma=86400
Cache-Control:
public, max-age=31536000, s-maxage=31536000, immutable
Content-Encoding:
br
Content-Length:
173
Content-Type:
application/javascript; charset=utf-8
Cross-Origin-Resource-Policy:
cross-origin
Date:
Sun, 16 Jul 2023 17:41:14 GMT
Etag:
W/"191-bxIMGg15ZOChCP6DHTNrUGWVWRA"
Strict-Transport-Security:
max-age=31536000; includeSubDomains; preload
Timing-Allow-Origin:
*
Vary:
Accept-Encoding
X-Cache:
HIT, HIT
X-Content-Type-Options:
nosniff
X-Jsd-Version:
16.7.1
X-Jsd-Version-Type:
version
X-Served-By:
cache-fra-eddf8230044-FRA, cache-chi-klot8100050-CHI

Information

  • OS: Kubuntu 22.10
  • Chrome Version 114.0.5735.198 (Official Build) (64-bit)
  • VPN provider: None
  • Midwest United States

Requisites

  • I performed a cursory search of the issue tracker to avoid opening a duplicate issue.
  • I checked the documentation to understand that the issue I am reporting is not normal behavior.
  • I understand that not filling out this template correctly will lead to the issue being closed.

Additional content

I discovered this when I was importing apollo/client at https://cdn.jsdelivr.net/npm/@apollo/client@3.7.17/+esm

@jre0 jre0 changed the title Failed to bundle graphql@16.7.1 using Rollup v2.79.1 Failed to bundle graphql@16.7.1 using Rollup v2.79.1 when using esm flag Jul 16, 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

1 participant