用了yarn global add @tarojs/cli 和 npm install -g @tarojs/cli都是报这个错误
taro : 无法将“taro”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保路径正确
,然后再试一次。
所在位置 行:1 字符: 1
+ taro -v
+ ~~~~
+ CategoryInfo : ObjectNotFound: (taro:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException