Error: Cannot find module 'webpack-cli/bin/config-yargs'

前端 未结 8 1346
渐次进展
渐次进展 2021-01-04 01:57

\'Github\' asked me to update \'webpack-dev-server\' to version 3.1.11 or higher for security reasons.

However, \'npm run dev\' will not run after the update.

<
8条回答
  •  孤城傲影
    2021-01-04 02:42

    You could try changing webpack-dev-server to webpack serve in your npm run script inside package.json

提交回复
热议问题