Skip to content

Instantly share code, notes, and snippets.

@bkuri
Created August 17, 2021 23:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bkuri/0108280059a51a6bcc3a022c2d024d4b to your computer and use it in GitHub Desktop.
Save bkuri/0108280059a51a6bcc3a022c2d024d4b to your computer and use it in GitHub Desktop.
Nuxt 2.15.8 error
ERROR in ./.nuxt/index.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
Error: [BABEL] /source/.nuxt/index.js: @babel/preset-env: The plugins/built-ins '@babel/plugin-proposal-private-property-in-object' passed to the 'exclude' option are not
valid. Please check data/[plugin-features|built-in-features].js in babel-preset-env (While processing: "/source/node_modules/@nuxt/babel-preset-app/src/index.js$0")
at OptionValidator.invariant (/source/node_modules/@babel/helper-validator-option/lib/validator.js:48:13)
at expandIncludesAndExcludes (/source/node_modules/@babel/preset-env/lib/normalize-options.js:49:5)
at normalizeOptions (/source/node_modules/@babel/preset-env/lib/normalize-options.js:128:19)
at /source/node_modules/@babel/preset-env/lib/index.js:271:37
at /source/node_modules/@babel/helper-plugin-utils/lib/index.js:22:12
at async (/source/node_modules/@babel/core/lib/gensync-utils/async.js:43:33)
at async (/source/node_modules/gensync/index.js:186:15)
at /source/node_modules/gensync/index.js:216:13
at Generator.next (<anonymous>)
at /source/node_modules/@babel/core/lib/config/full.js:215:21
at Generator.next (<anonymous>)
at Function.<anonymous> (/source/node_modules/@babel/core/lib/gensync-utils/async.js:24:3)
at Generator.next (<anonymous>)
at step (/source/node_modules/gensync/index.js:269:25)
at evaluateAsync (/source/node_modules/gensync/index.js:291:5)
at Function.errback (/source/node_modules/gensync/index.js:113:7)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment