npm i bower -g bower -v//此时报错如本文题目所指 解决方案:将系统变量Path值新增一条,C:\Users\你的用户名\AppData\Roaming\npm,然后重启命令行,重新输入bower -v命令