我在这里告诉全局安装https://code.visualstudio.com/docs/typescript/typescript-compiling
npm install -g typescript
vscode内部和外部都有,尽管安装了tsc --version,但它不工作:则不识别TSC。
我在Windows Sandbox https://learn.microsoft.com/en-us/windows/security/threat-protection/windows-sandbox/windows-sandbox-overview之外没有问题
那么,在这种情况下,有什么解决办法吗?
1条答案
按热度按时间4ktjp1zp1#
你需要用这个命令更新 typescript
则将识别TSC
来源:https://bobbyhadz.com/blog/typescript-tsc-command-not-found