ERROR Failed to compile with1 errors20:10:54
error in./server/index.js
Module build failed: Error: Plugin/Preset files are not allowed to export objects, only functions. In D:\vue\VueBase\nuxt-learn\node_modules\backpack-core\babel.js
at createDescriptor(D:\vue\VueBase\nuxt-learn\node_modules\@babel\core\lib\config\config-descriptors.js:178:11)
at D:\vue\VueBase\nuxt-learn\node_modules\@babel\core\lib\config\config-descriptors.js:109:50
at Array.map(<anonymous>)
at createDescriptors(D:\vue\VueBase\nuxt-learn\node_modules\@babel\core\lib\config\config-descriptors.js:109:29)
at createPresetDescriptors(D:\vue\VueBase\nuxt-learn\node_modules\@babel\core\lib\config\config-descriptors.js:101:10)
at D:\vue\VueBase\nuxt-learn\node_modules\@babel\core\lib\config\config-descriptors.js:58:104
at cachedFunction(D:\vue\VueBase\nuxt-learn\node_modules\@babel\core\lib\config\caching.js:62:27)
at cachedFunction.next(<anonymous>)
at evaluateSync(D:\vue\VueBase\nuxt-learn\node_modules\gensync\index.js:244:28)
at sync(D:\vue\VueBase\nuxt-learn\node_modules\gensync\index.js:84:14)
internal/modules/cjs/loader.js:796throw err;^
Error: Cannot find module 'D:\vue\VueBase\nuxt-learn\build\main.js'
at Function.Module._resolveFilename(internal/modules/cjs/loader.js:793:17)
at Function.Module._load(internal/modules/cjs/loader.js:686:27)
at Function.Module.runMain(internal/modules/cjs/loader.js:1043:10)
at internal/main/run_main_module.js:17:11{
code:'MODULE_NOT_FOUND',
requireStack:[]}