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 update --strict-peer-deps fails #39011

Open
2 tasks done
athomas-octoberthree opened this issue Jun 6, 2024 · 0 comments
Open
2 tasks done

npm update --strict-peer-deps fails #39011

athomas-octoberthree opened this issue Jun 6, 2024 · 0 comments
Labels
status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer type: bug An issue or pull request relating to a bug in Gatsby

Comments

@athomas-octoberthree
Copy link

Preliminary Checks

Description

Cannot update with npm update when using the --strict-peer-deps flag.

Reproduction Link

n/a

Steps to Reproduce

  1. npm init gatsby
  2. npm update --strict-peer-deps

Expected Result

Updating should happen with no peer dependency conflicts, forming a good foundation for future updates, adding plugins, and adding packages.

Actual Result

npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/eslint-plugin
npm error @typescript-eslint/eslint-plugin@"^5.60.1" from [email protected]
npm error node_modules/gatsby
npm error gatsby@"^5.13.5" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @typescript-eslint/eslint-plugin@"^4.0.0" from [email protected]
npm error node_modules/eslint-config-react-app
npm error eslint-config-react-app@"^6.0.0" from [email protected]
npm error node_modules/gatsby

Environment

System:
    OS: Windows 10 10.0.19045
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i7...
  Binaries:
    Node: 20.14.0 - ...
    Yarn: 1.22.22 - ...
    npm: 10.7.0 - ...
  Browsers:
    Edge: Chromium (123.0....)
  npmPackages:
    gatsby: ^5.13.5 => 5.13.5

Config Flags

no flags

@athomas-octoberthree athomas-octoberthree added the type: bug An issue or pull request relating to a bug in Gatsby label Jun 6, 2024
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer type: bug An issue or pull request relating to a bug in Gatsby
Projects
None yet
Development

No branches or pull requests

1 participant