'Umi' is not an internal or external command, operable program or batch file or umi: command not found.

# 1. First, you need to install Node.js (all the way to the next installation), and ensure that node version is 8.10 or above. (Recommended under mac NVM managed node version)

# After the installation is complete, view the version number by node -v command

2. Recommended Use yarn management npm dependence, and the use of domestic sources (Ali users within the network source).


3.然后全局安装 umi,并确保版本是 2.0.0 或以上


4.如何出现'umi' 不是内部或外部命令,也不是可运行的程序 或批处理文件或者提示 umi: command not found


把获取到global bin 的路径添加到系统环境变量中PATH.

 



 

 

 

 

 

Guess you like

Origin www.cnblogs.com/qianbing-li/p/11089152.html