solid-js icon indicating copy to clipboard operation
solid-js copied to clipboard

Allow babel version range

Open aryzing opened this issue 1 year ago • 0 comments

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.

aryzing avatar Oct 07 '24 19:10 aryzing