Updating Node & NPM VS Cordova update 5

前端 未结 3 843
温柔的废话
温柔的废话 2020-12-17 22:35

I just download the VS Apache Cordova Tools Update 5 and I\'m running into problems with Node and NPM. I am using the default blank cordova project for testing.

3条回答
  •  鱼传尺愫
    2020-12-17 23:20

    The problem is that the version of npm that is bundled with the "latest stable" version of node does not properly install some of our npm packages. To fix this, open a command prompt and run:

    npm -g install npm
    

    To update npm to the latest version. This should fix the problem.

    Edit 2/5/2016 - We have release Update 6 which fixes this problem. See our blog for more info: http://microsoft.github.io/vstacoblog/2016/02/04/announcing-update-6.html

    (Disclosure: I work on the tools for Apache Cordova in Visual Studio)

提交回复
热议问题