nuxt-learn@1.1.0 dev D:\heyinhuan的桌面\nuxt-learn
backpack dev
ERROR Failed to compile with 1 errors 18:02:22
error in ./server/index.js
Module build failed: Error: Plugin/Preset files are not allowed to export objects, only functions. In D:\heyinhuan的桌面\nuxt-learn\node_modules\backpack-core\babel.js
at createDescriptor (D:\heyinhuan的桌面\nuxt-learn\node_modules@babel\core\lib\config\config-descriptors.js:178:11)
at items.map (D:\heyinhuan的桌面\nuxt-learn\node_modules@babel\core\lib\config\config-descriptors.js:109:50)
at Array.map ()
at createDescriptors (D:\heyinhuan的桌面\nuxt-learn\node_modules@babel\core\lib\config\config-descriptors.js:109:29)
at createPresetDescriptors (D:\heyinhuan的桌面\nuxt-learn\node_modules@babel\core\lib\config\config-descriptors.js:101:10)
at passPerPreset (D:\heyinhuan的桌面\nuxt-learn\node_modules@babel\core\lib\config\config-descriptors.js:58:96)
at cachedFunction (D:\heyinhuan的桌面\nuxt-learn\node_modules@babel\core\lib\config\caching.js:33:19)
at presets.presets (D:\heyinhuan的桌面\nuxt-learn\node_modules@babel\core\lib\config\config-descriptors.js:29:84)
at mergeChainOpts (D:\heyinhuan的桌面\nuxt-learn\node_modules@babel\core\lib\config\config-chain.js:315:26)
at D:\heyinhuan的桌面\nuxt-learn\node_modules@babel\core\lib\config\config-chain.js:278:7
module.js:550
throw err;
^
Error: Cannot find module 'D:\heyinhuan的桌面\nuxt-learn\build\main.js’
at Function.Module._resolveFilename (module.js:548:15)
at Function.Module._load (module.js:475:25)
at Function.Module.runMain (module.js:694:10)
at startup (bootstrap_node.js:204:16)
at bootstrap_node.js:625:3