在安装nuxt.js koa版本时的报错处理(关于“Module build failed: Error: Plugin/Preset files are not allowed to export)
关于“Modulebuildfailed:Error:Plugin/Presetfilesarenotallowedtoexportobjects,onlyfunctions.”我的1个想法先看报错信息初步猜想可能是因为转换es6语法的bable未生效,多半是因为版本原因,随后看了一下版本都为7.0+直接改了一下配置项“devDependencies”:{“babel-core”:“^6.26.3