'cross-env' is not recognized as an internal or external command, operable program or batch file.

'cross-env' is not recognized as an internal or external command, operable program or batch file.

When I downloaded a project from a website to play with, I encountered this problem when starting the project: 'cross-env' is not recognized as an internal or external command, operable program or batch file. Tried several methods and finally solved it.

npm ru dev

problem appear:

solution:

 

npm install -g cross-env

The above is the solution to this problem. 

Guess you like

Origin blog.csdn.net/weixin_51938823/article/details/131826107