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

Allow babel version range #12

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aryzing
Copy link

@aryzing aryzing commented Oct 7, 2024

Fixing babel's version breaks newer projects using the latest npm version. E.g., when using solid's default template for nativescript, npm i will fail since it can't resolve both the version fixed here and the top level babel version from the template.

$ npm i
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: @babel/[email protected]
npm error node_modules/@babel/preset-typescript
npm error   dev @babel/preset-typescript@"^7.25.7" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @babel/preset-typescript@"7.23.3" from @nativescript-community/[email protected]
npm error node_modules/@nativescript-community/solid-js
npm error   @nativescript-community/solid-js@"^0.0.7" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.

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

Successfully merging this pull request may close these issues.

1 participant