猿问

npm run dev出错

    const webpackConfigurationValidationErrors = validateSchema(
                                                     ^

TypeError: validateSchema is not a function


npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! vuetodo@1.0.0 dev: `cross-env NODE-ENV=development webpack-dev-server --config webpack.config.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the vuetodo@1.0.0 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

wollen
浏览 1080回答 1
1回答

慕勒0069038

怀疑是 webpack 的版本问题 你试试 npm install webpack@3.10.0 -g 记得把以前的清理下
随时随地看视频慕课网APP

相关分类

JavaScript
我要回答