making a test app with phonegap

I am making an app with phonegap, I used this framework before, and never got this issue. But I just installed it on my home computer, and I found thie error when I make "phonegap create test"

Creating a new cordova project with name "Hello World" and id "com.phonegap.helloworld" at location "C:\Users\Eloy\Desktop\test"

Using custom www assets from https://github.com/phonegap/phonegap-app-hello-world/archive/master.tar.gz

Downloading hello-world-template library for www...
Error: connect ETIMEDOUT
    at errnoException (net.js:905:11)
    at Object.afterConnect [as oncomplete] (net.js:896:19)

Any suggestion??

Thank you very much.

Upvotes: 0

Views: 482

Answers (1)

Keval
Keval

Reputation: 3389

The error is to be solved by setting the NPM registry.

npm config set registry http://registry.npmjs.org/

You may have to add sudo to the command if you're on Linux.

Upvotes: 1

Related Questions