-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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
fix(babel): loose option for babel private-property-in-object #9631
Conversation
thanks for this! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
nice! |
Please! The console gets spammed every time on npm run dev! |
@mrleblanc101 can you try |
@mrleblanc101 It is closed by issue creator, can you comment in that issue ? |
Wait this is a merge request. I meant to comment on the issue related to that merge request, my bad. |
I still have the problem unfortunately, just created a new Nuxt project. |
Can you try using nuxt-edge @Intevel ? |
Hi @atinux ,
When is the next |
We are working with @pi0 to release it ASAP, some prs are pending at the moment. |
Fix released in v2.15.8 |
I still meet this warning in 2.15.8 |
@kingyue737 Can you please ensure lock file is recreated and you are not using any other workaround inside |
add this to your sh alias nbomb='rm -rf node_modules/ package-lock.json && npm i --no-audit' then do voila! |
It works! Thank you |
Why would you do such a thing, you just need to do |
I don't know. I npm upgrade and audit fix my dependencies, but the warning still exists. After removing all the packages and reinstalling without auditing, the warning disappears. |
Thanks for the great work @pi0 👏 |
Great @pi0 . Thank you for fixing it✌️ |
not work |
is not fixed |
@Mitch-i it is fixed, read the whole thread of how to update you peerDependancy. |
is not fixed, it appear and the problem is not in peerDependancy. i use latest version and a fresh test project Error: Decorating class property failed. Please ensure that proposal-class-properties is enabled and runs after the decorators transform. |
@Mitch-i Clearly this is not the same error. You should probably open a new issue with a repro or a step by step guide on how you got this error |
Awesome! |
Types of changes
Description
Issue #9224 (comment)
Similar fix to #9232.
@babel/plugin-proposal-private-methods
has been added to @babel/preset-env now, but the syntax is not supported by webpack 4, so this pr is excluding it from preset-env and setting loose option as a seprate plugin.Checklist: