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

[Bug/build] Conflicting versions of eslint breaks build #20

Open
jamecoyne opened this issue Aug 31, 2022 · 3 comments
Open

[Bug/build] Conflicting versions of eslint breaks build #20

jamecoyne opened this issue Aug 31, 2022 · 3 comments

Comments

@jamecoyne
Copy link

Hi,

I encountered a strange issue when trying to build a new version of my personal site built with this theme on Gitlab where I merged a commit that only changed the markdown content of one page.

In essence, it seems if I'm understanding correctly there's a conflict between versions of eslint that the theme uses and the eslint that gatsby uses?

npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/eslint
npm ERR!   dev eslint@"^8.3.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@"^7.23.0" from [email protected]
npm ERR! node_modules/eslint-config-gatsby-standard
npm ERR!   dev eslint-config-gatsby-standard@"^3.0.2" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 

Not sure if I'm understanding this correctly.

Since then I've tried.

  • upgrading all packages
  • uninstalling gatsby + all dependencies completely, re-installinng the project
  • uninstalling gatsby + all dependencies completely, creating a new project with the theme
  • creating a new gatsby project, manually adding the theme.

All roads seem to lead to this error, and I'm not sure what I'm doing wrong here - any advice would be very much appreciated.

@meninoebom
Copy link

I'm having the same issue.

@jamecoyne
Copy link
Author

woo, glad I'm not the only one having that issue. I'll ping a friend with more experience with build issues and let you know if we find a solution.

@spolanski
Copy link

Anyone managed to solve the issue? I am experiencing the same thing

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