Error while updating Cordova

Asked

Viewed 138 times

1

When trying to update Cordova on my computer Node is generating the following error.

    D:\Desenv\tfs-soek\xampp\biltspot>npm install -g cordova
    npm ERR! Error: connect EACCES
    npm ERR!     at errnoException (net.js:905:11)
    npm ERR!     at Object.afterConnect [as oncomplete] (net.js:896:19)
    npm ERR!  { [Error: connect EACCES] code: 'EACCES', errno: 'EACCES',         syscall: 'c
    onnect' }
    npm ERR!
    npm ERR! Please try running this command again as root/Administrator.

    npm ERR! System Windows_NT 6.2.9200
    npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "cordova"
    npm ERR! cwd D:\Desenv\tfs-soek\xampp\biltspot
    npm ERR! node -v v0.10.39
    npm ERR! npm -v 1.4.28
    npm ERR! syscall connect
    npm ERR! code EACCES
    npm ERR! errno EACCES
    npm ERR! stack Error: connect EACCES
    npm ERR! stack     at errnoException (net.js:905:11)
    npm ERR! stack     at Object.afterConnect [as oncomplete] (net.js:896:19)
    npm ERR!
    npm ERR! Additional logging details can be found in:
    npm ERR!     D:\Desenv\tfs-soek\xampp\biltspot\npm-debug.log
    npm ERR! not ok code 0

I have tried to desisntalar and reinstall, run as Administrator, upgrade and downgrade version.

The error started to occur when I upgraded Node on my PC to the newer version.

Note, nor install plugins is not currently installing

If anyone has an idea and can help me I’m open

A big hug

  • I managed to solve the problem, in my computer I have Norton 360 and it manages the Firewall system. I don’t know why Norton wasn’t starting and Node couldn’t get through the Firewall, I started Norton and it started up again

  • it would be interesting to post this as an answer if you solved!

  • @gustavohenke is already in the comment above. That was the solution to the problem

No answers

Browser other questions tagged

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