Android Cordova PHONEGAP

Asked

Viewed 58 times

0

When I execute :

phonegap create PushNotificationSample --id "com.pushapp" --name "PushNotificationApp"
Creating a new cordova project.

Before it was normal , but now I’m having this mistake and I couldn’t solve a few days ago .

C:\Users\...\Documents\...-work\projects\others\phonegap\testes\push>phonegap create PushNotificationSample --id "com.pushapp" --name "PushNotificationApp"
Creating a new cordova project.


Error: Uncaught, unspecified "error" event. (  Error from Cordova Fetch: Error: cmd: Command failed with exit code 1 Error output:
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "phonegap-template-hello-world@latest"
npm ERR! node v6.11.1
npm ERR! npm  v3.10.10
npm ERR! code ECONNREFUSED
npm ERR! errno ECONNREFUSED
npm ERR! syscall connect

npm ERR! Error: connect ECONNREFUSED 192.168.0.7:3000
npm ERR!     at Object.exports._errnoException (util.js:1018:11)
npm ERR!     at exports._exceptionWithHostPort (util.js:1041:20)
npm ERR!     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1086:14)
npm ERR!  { Error: connect ECONNREFUSED 192.168.0.7:3000
npm ERR!     at Object.exports._errnoException (util.js:1018:11)
npm ERR!     at exports._exceptionWithHostPort (util.js:1041:20)
npm ERR!     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1086:14)
npm ERR!   code: 'ECONNREFUSED',
npm ERR!   errno: 'ECONNREFUSED',
npm ERR!   syscall: 'connect',
npm ERR!   address: '192.168.0.7',
npm ERR!   port: 3000 }
npm ERR!
npm ERR! If you are behind a proxy, please make sure that the
npm ERR! 'proxy' config is set properly.  See: 'npm help config'

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\...\.cordova\node_modules\npm-debug.log)
  • Did you change your network? is looking like proxy error, try if possible connect to another internet source to check if the command works

  • I haven’t changed no, I’m still the same ,I don’t know what that proxy problem is.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.