-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Nuxt Module build failed @babel/plugin-proposal-private-property-in-object #21489
Comments
fix in progress at #21488 |
This should be resolved in the edge channel shortly (using |
This should be resolved in the latest release. Let me know if not and I'll happily reopen. |
@danielroe still doesn't working at 2.17.0 ERROR in ./.nuxt/client.js
|
You may need to refresh your lockfile. It works fine on a fresh install as far as I can tell. Feel free to provide a reproduction and I'll investigate further. |
I had the same problem. Operating System: Ubuntu ERROR in ./.nuxt/client.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
Error: [BABEL] /home/mohammad/workspace/hammerhead/.nuxt/client.js: --- PLACEHOLDER PACKAGE ---
This @babel/plugin-proposal-private-property-in-object version is not meant to
be imported. Something is importing
@babel/plugin-proposal-private-property-in-object without declaring it in its
dependencies (or devDependencies) in the package.json file.
Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies
to work around this error. This will make this message go away. Migrating to 2.17.0 solved the error. |
Fixed it for me too. Cheers |
Helpful thank you |
Environment
Operating System: Windows or Mac
Node Version: v16.20.0
Nuxt Version: 2.16.3
Package Manager: npm@8.19.4
User Config: -
Runtime Modules: -
Build Modules: -
Reproduction
Use npm init nuxt-app test
cd test
npm install
npm run build
Describe the bug
ERROR in ./.nuxt/client.js
Module build failed (from ./node_modules/.pnpm/babel-loader@8.3.0_@babel+core@7.22.5_webpack@4.46.0/node_modules/babel-loader/lib/index.js):
Error: [BABEL] C:\Users\Eugene\Desktop\prozorro.purchase-front.nuxt\client.js: --- PLACEHOLDER PACKAGE ---
This @babel/plugin-proposal-private-property-in-object version is not meant to
be imported. Something is importing
@babel/plugin-proposal-private-property-in-object without declaring it in its
dependencies (or devDependencies) in the package.json file.
Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies
to work around this error.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: