babel / babel/grunt-babel

Not compatible with babel/core v8+

Open
#127 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
434
Forks
60
PR merge metrics
No merged PRs in 30d

Description

After updating `@babel/core` to v8.0.1 I'm getting the following error:

```
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: grunt-babel@8.0.0
npm error Found: @babel/core@8.0.1
npm error node_modules/@babel/core
npm error dev @babel/core@"8.0.1" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @babel/core@"^7.0.0" from grunt-babel@8.0.0
npm error node_modules/grunt-babel
npm error dev grunt-babel@"8.0.0" from the root project
npm error
npm error Conflicting peer dependency: @babel/core@7.29.7
npm error node_modules/@babel/core
npm error peer @babel/core@"^7.0.0" from grunt-babel@8.0.0
npm error node_modules/grunt-babel
npm error dev grunt-babel@"8.0.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry this command with --force or --legacy-peer-deps to accept an incorrect (and potentially broken) dependency resolution.
```

It seems that this project requires v7 only.

Is this ever likely to get fixed, or has this project now been abandoned?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the npm install failure with @babel/core 8.0.1 and inspect how grunt-babel declares and uses its @babel/core dependency. Done means the package installs with Babel 8 without the reported peer-dependency conflict and its existing compatibility checks still pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.