After Vue creates the project, run the error report. After using the following commands, no error will be reported.
Run these commands in turn at the terminal.
npm install -g webpack-cli
npm install -g [email protected]
npm install -g webpack-dev-server