vscod使用tsc命令报错解决办法:
1.使用yarn 全局安装
yarn global add typescript
本地安装
yarn add typescript
本地卸载
yarn remove typescript
全局卸载
yarn global remove typescript
2.使用npm全局安装
npm install -g typescript
本地安装
npm install typescript
全局卸载
npm uninstall -g typescript
本地卸载
npm uninstall typescript
发表评论
评论 0