-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
transformer-babel error: Unknown option: .showIgnoredFiles (Nightly 598) #5879
Comments
The flag It was added in @babel/core v7.12.0. I'd say you're using an older version somehow? @devongovett This is another case of the babel transformer not having a hard dependency on babel core. Otherwise there would have been
|
@mischnic this goes beyond my Babel knowledge .. We are using From our yarn.lock:
Should we add babel-core as a dev dependency to resolve this? Will try. |
Sorry, I meant What version is installed at |
That should cause yarn/npm to give incompatible peer dep warnings which is the best we can do I think |
@mischnic 7.10.4 - I don't see it in yarn.lock though, I'll try to do a clean install. |
Ok, a clean install solved. Closing. Thanks for the quick reply! |
I have this issue in
|
Your package.json:
|
That's strange. cc: @raineorshine |
$ ncu
Checking ... package.json
[====================] 2/2 100%
@babel/cli 7.11.6 → 7.13.14
@babel/core 7.11.6 → 7.13.14
|
🐛 bug report
With nightly 598, our build fails right away on the following error:
Not sure where the error is coming from, but I can see
shoeIgnoredFiles
on the Babel website. Note this issue was not happening with Nightly 577 where we could build fine.Also, prior to this issue, I ran into #5854 (Which also did not happen with nightly 577) and so I added these packages in the monorepo root package.json to overcome and disabled auto install:
Also tried adding
@parcel/transformer-babel
but it didn't make a difference.🎛 Configuration (.babelrc, package.json, cli command)
Babel:
🤔 Expected Behavior
Build should be successful.
😯 Current Behavior
Build fails almost immediatelly.
💁 Possible Solution
🔦 Context
💻 Code Sample
I can provide access to @devongovett (Same company). Can also try to do a minimal reproduction if required.
🌍 Your Environment
The text was updated successfully, but these errors were encountered: