[webpack-cli] Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema.
- configuration.output.module should be a boolean.
-> Output javascript files as module source type.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! meetwebpack@1.0.0 build: webpack
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the meetwebpack@1.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
有大佬知道这个错哪了嘛?
按照报错的提示是webpack的配置出错.output.module should be a boolean,也就是说.output.module应该是一个bool值,你检查下配置。
nvalid配置对象。已使用与API架构不匹配的配置对象初始化Webpack。
configuration.output.module应为布尔值。
解决了吗 我今天也遇到了这个问题