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

NPM peer dependencies update #235

Open
m5kr1pka opened this issue May 30, 2022 · 1 comment
Open

NPM peer dependencies update #235

m5kr1pka opened this issue May 30, 2022 · 1 comment

Comments

@m5kr1pka
Copy link

NPM peer dependencies needs to be updated

Conflicting peer dependency: gatsby-source-filesystem@2.11.1
node_modules/gatsby-source-filesystem
npm ERR!   peer gatsby-source-filesystem@"^2.0.27" from gatsby-source-instagram@0.9.0
npm ERR!   node_modules/gatsby-source-instagram
npm ERR!     gatsby-source-instagram@"^0.9.0" from the root project
@graysonhicks
Copy link
Contributor

This is a warning just saying you have two versions of gatsby-source-filesystem. I think the version as a peer dependency here is correct (it works with ^2.0.27) and shouldn't be changed. If you are using npm 6 or below, you don't see this warning. With npm 7, you can use --legacy-peer-deps when installing to install both versions and avoid this warning. Changing the version in this package to 2.11.1 may fix it for you, but anyone using another version in their site would still see it, so it doesn't really help.

@oorestisime I believe this can be closed.

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

2 participants