我在Windows上下载并安装了Node.js。我正在尝试卸载我当前拥有的TypeScript版本,以便使用较旧的版本。当我运行
npm uninstall typescript
或者
npm uninstall -g typescript
我理解
npm warn uninstall not installed in C:\Program Files\nodejs\node_modules: "typescript@0.9.7"
如何在不影响npm卸载的情况下卸载typescript?谢谢。
npm view typescript version
时,它显示版本号为0.9.7。它是否已经安装在node_modules文件夹中? - Crystal