throw new Error("'output.filename' is required, either in config file or as --output-filename"); 为什么呢

throw new Error("'output.filename' is required, either in config file or as --output-filename");  为什么呢

齿鱼回答:module.exports 写成了module.export

配置less文件时Module build failed: TypeError: loaderContext.getResolve is not a function

会报错因为版本太高,在配置文件里手动将less改为3.9.0,less-loaderl版本改成5.0.0,再npm install重新下载,再npm rub build

原文地址:https://www.cnblogs.com/Esther-yan/p/12959145.html