\\npm\\node_modules\\vs-mda\\vs-cli is not recognized as an internal or external command

不羁的心 提交于 2019-12-02 00:42:53

It seems you Node installation was old, or corrupted. Try these steps:

1) Remove the CTP (this may take a while)

2) Remove node.js

3) Delete users\name\appdata\roaming\npm and users\name\appdata\roaming\npm-cache

4) Delete users\appdata.cordova

5) Re-install CTP

6) Open a sample application and build

It re-installs npm at this point and the vs-cli.cmd is there. In my case does not have spaces, and I did have those SDK's installed.

I've solved by removing C:\Users\Miquel\AppData\Roaming\npm\node_modules\vs-mda\node_modules\*.* and C:\Users\Miquel\AppData\Roaming\npm-cache\*.*

Then in cmd I went to C:\Users\Miquel\AppData\Roaming\npm\node_modules\vs-mda and ran:

npm install
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!