[Vue, project startup error: 'webpack-dev-server' is not an internal or external command, nor is it a runnable program or batch file. 】

1. 'webpack-dev-server' is not an internal or external command, nor is it a runnable program or batch file.

2. Delete the "node_modules" folder in the project

3. After entering the project path, enter: npm install

Fourth, continue to enter after completion: npm run build

Fifth, the final execution: npm run dev

success:

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325558097&siteId=291194637