Error handling when building vue-cli

“Webpack-dev-server is not an internal or external command, nor is it a runnable program or batch file” that recently appeared when using vue-cli to build directories

After looking up a lot of data and solutions on the Internet, the path that should be an environment variable does not read NPM in combination with its own situation.

False report

 

The solution is to find the NPM directory and add it to the environment variable path.

OK!Perfect solution!!!

 

Leave a Reply

Your email address will not be published. Required fields are marked *