-
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
Deprecated dependencies on gatsby-source-graphql
#34042
Comments
Hi! Since I couldn't use your reproduction as I don't have any directus running I was simply adding the plugin to the config and used the SWAPI endpoint from the README. I don't get any errors during |
I am also getting this warning. It's related to the They are changing the problematic mapping in this commit and also have an issue addressing the problem here |
Hello @LekoArts |
I'm still not seeing this on my end, but this might not be the normal behavior for others then. It's a warning and things will still work, so I'm not considering this a bug. Feel free to put up a PR updating the required dependencies to get rid of this warning. |
@LekoArts the warning only shows up with the latest npm and node version. I was able to reproduce it with the versions provided by @joselcvarela. I am creating a PR updating the dependency. |
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 20 days since the last update here. Thanks for being a part of the Gatsby community! 💪💜 |
Apple silicon m1 with:
having the same issue when running
nvm use v16.13.1 resolves this issue locally, but when trying to deploy on vercel this weird issue pops-up:
|
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 20 days since the last update here. Thanks for being a part of the Gatsby community! 💪💜 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I ran into the same error and downgrading to node@16 worked. My setup before: Now, I downgraded to v16.13.2 |
I am still getting this error locally and on netlify and gatsby cloud. downgrading to v16.13.2 didn't help since we have been on node v16.13.0. Neither removed the error in the build logs |
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 20 days since the last update here. Thanks for being a part of the Gatsby community! 💪💜 |
I don't know if it's related, but I'm getting an error on pulling images from 8base: Tested on Gatsby 2 and 4 |
Steps to Reproduce Install npm install gatsby-source-graphql |
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 20 days since the last update here. Thanks for being a part of the Gatsby community! 💪💜 |
Please try out |
gatsby-source-graphql@4.11.0-next.1 is solving the issue for me |
can this get backported for v3 too? |
Preliminary Checks
Description
Using latest version of
gatsby-source-graphql
(4.2.0) causes an error to be thrown on runningdevelop
.The error is:
A further investigation led me to see that the issue comes from
extract-files@9
but is solved in 10.I could found the root of this issue and it seems is a chain of dependencies issue, unfortunately.
The package
gatsby-source-graphql
is using@graphql-tools/links@7.1.0
.And
@graphql-tools/links@7.1.0
is usingapollo-upload-client@14.1.3
. In this version we can seeapollo-upload-client
is usingextract-files@9.0.0
.Although the issue you reported is solved in
extract-files@10.0.0
, which is also solved inapollo-upload-client@15.0.0
. jaydenseric/extract-files#18Since
@graphql-tools/links
is now on8.2.1
and is usingapollo-upload-client@^16.0.0
I believe an upgrade on dependencies should solve the issue.Reproduction Link
https://github.com/joselcvarela/gatsby-source-graphql-issue
Steps to Reproduce
npm install gatsby-source-graphql
plugins
ingatsby.node.js
to usegatsby-source-graphql
npm run develop
and the error appears on the consoleExpected Result
No error to show up.
Actual Result
An error is shown on running
npm run develop
.Environment
Config Flags
No response
The text was updated successfully, but these errors were encountered: