我试着使用tslint --fix,但得到了bash: tslint: command not found...。
我使用命令yarn global add tslint typescript安装了tslint。
我的机器使用Centos 7。
发布于 2017-12-22 20:25:49
我最近也遇到了同样的问题。Yarn output说它添加了"tslint"二进制文件,但它是在说谎。要实际安装它,您需要以根用户身份运行Yarn,因此:
sudo yarn global add tslint typescript发布于 2019-01-20 03:23:46
我需要删除/node_modules文件夹并运行npm install,它又被修复了
https://stackoverflow.com/questions/47753144
复制相似问题