Visual Studio 2015 won't work with Tools For Apache Cordova

前端 未结 4 849
面向向阳花
面向向阳花 2021-01-04 09:46

I did the full installation of VS 2015 Enterprise + Tools for Apache Cordova. When I open or create any project It won\'t build and even show the Ripple Emulator or Device i

4条回答
  •  温柔的废话
    2021-01-04 10:14

    To fix This problem close VS first then copy folder vs-tac from

    C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\ApacheCordovaTools\Packages\
    

    To

    C:\Users\ASUS S550C\AppData\Roaming\npm\node_modules
    

    Then if you cannot see folder named cordova in new path

    1- open CMD or Termianl and Write

    cd C:\Users\ASUS S550C\AppData\Roaming\npm\node_modules
    npm install -g cordova 
    

    2- Then write

      cd C:\Users\ASUS S550C\AppData\Roaming\npm\node_modules\cordova
        npm install
    

    This will fix the problem

    Note: to use npm you need to install Node.js

提交回复
热议问题