npm - Cordova 4.0.0 is installing 3.6.4 -
I have updated to Cordova 4.0.0. Whenever I run Cordova platform Android
, it brings the 3.6.4 Cordoba library. What am I missing?
$ cordova -v 4.0.0 $ Cordova platform Android npm go http https://registry.npmjs.org/cordova-android/3.6.4 NMP HP 200 Https: // registry. Npmjs.org/cordova-android/3.6.4 NPM HTT https://registry.npmjs.org/cordova-android/-/cordova-android-3.6.4.tgz NMP HP 200 https: //registry.npmjs.org /cordova-android/-/cordova-android-3.6.4.tgz
Edit: I have cleared any npm cache.
Now there are two separate questions.
Question # 1 OP question, essentially, "Why am I downloading Cordova 3.6.4 after installing Cordova 4.0.0?"
Then Dawson answered it - Cordova
is on command line program version 4.0.0, but Cordoba library is at version 3.6.4, so it is expected (though deceptive ) Behavior. Question # 2 is the question of "banshidari" which is basically "how can i solve getaddrinfo anotfound during install npm
"
this local Networking is a symptom of the problem, where node
's HTTP client library is not request
registry. Able to find address of Npmjs.org
Generally it can be ensured that your http_proxy
variable is set correctly:
npm configuration set http_proxy http: //path.to.proxy: Port
However if you are still having problems, then open a new question or a problem at
Comments
Post a Comment