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

Could not resolve dependency: peer @babel/core@"^7.11.0" from @babel/eslint-parser@7.23.3 #1644

Closed
Wounded-Knee opened this issue Apr 25, 2024 · 2 comments
Labels
stale Used to mark when there was no activity for a set period of time

Comments

@Wounded-Knee
Copy link

Upon executing npm install against a fresh clone of this repository, NPM fails with the following output:

npm resolution error report

While resolving: @contentful/field-editors@1.0.0
Found: @babel/core@7.9.6
node_modules/@babel/core
dev @babel/core@"7.9.6" from the root project

Could not resolve dependency:
peer @babel/core@"^7.11.0" from @babel/eslint-parser@7.23.3
node_modules/@babel/eslint-parser
dev @babel/eslint-parser@"7.23.3" from the root project

Fix the upstream dependency conflict, or retry
this command with --force or --legacy-peer-deps
to accept an incorrect (and potentially broken) dependency resolution.

Copy link

Marking issue as stale since there was no activity for 30 days

@github-actions github-actions bot added the stale Used to mark when there was no activity for a set period of time label May 26, 2024
@2wce
Copy link
Contributor

2wce commented Oct 23, 2024

hi @Wounded-Knee thank you for bringing this up, the repository has a yarn.lock file so we recommend running yarn install instead of npm install this should run the install command successfully

@2wce 2wce closed this as completed Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Used to mark when there was no activity for a set period of time
Projects
None yet
Development

No branches or pull requests

2 participants