-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
gatsby-source-graphql fails #22785
Comments
@andrewfairlie you beat me to it! I came here to report exactly this. 👍 |
Just updated the package and i Got it too. For now i will revert to previous version |
Fix PR here #22804 I tried out running
I made a PR that adds the .ts extension in the build step so that babel doesn't ignore them and that seems to do that trick
|
I have the following problem, but I don't know if is related because I'm using .tsx files. This is the code from console:
|
I have the same problem, reverting to the previous version for now. |
Same problem here. Using 2.3.0 for the moment |
My Docker build also fails with error
I tried different versions of gatsby-source-graphql including the latest |
I'm getting errors too: |
Me too, I go back to 2.1.32 version, which was the last one I used. |
do you have any luck with 2.1.32 |
@lalasmuathasim, yes, it works |
Can you please let me know the commands to go back to the 2.1.32 version? |
|
I'm also having this issue, will revert back until this is sorted 👍 |
same issue |
Sorry for the hassle. I prematurely used Typescript for a new Query Batching feature without appropriate TS build configuration (worked locally because of IDE). Gatsby has not decided yet to switch plugins to TS as it will make contributions harder. So I just converted TS files back to vanilla JS in #22848 which should fix this issue. We will publish a version with the fix in the next couple of hours. |
Should be fixed in |
Description
The latest version of
gatsby-source-graphql
fails because it's missing a file. Having dug into this a bit, I think it's because that file (batching/dataloader-link) is gitignored - https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-source-graphql/.gitignore#L2Steps to reproduce
Install the latest version
Try building the site
Expected result
Gatsby should build
Actual result
Gatsby fails with
Environment
The text was updated successfully, but these errors were encountered: