4 Replies Latest reply on Feb 16, 2018 7:30 AM by whmulder

    npm install -g phonegap

    andreap28921559

      Hi all im trying to install phonegap i'm following a tutorial that but It give me an error:

       

      C:\Users\DASH>npm install -g phonegap npm WARN deprecated connect@2.30.2: connect 2.x series is deprecated

      npm WARN deprecated tough-cookie@2.2.2: ReDoS vulnerability parsing Set-Cookie h ttps://nodesecurity.io/advisories/130

      npm WARN deprecated node-uuid@1.4.8: Use uuid module instead npm ERR! path C:\Users\DASH\AppData\Roaming\npm\node_modules\phonegap\node_modul es\npm\node_modules\ansistyles npm ERR! code ENOENT

      npm ERR! errno -4058

      npm ERR! syscall rename

      npm ERR! enoent ENOENT: no such file or directory, rename 'C:\Users\DASH\AppData \Roaming\npm\node_modules\phonegap\node_modules\npm\node_modules\ansistyles' -> 'C:\Users\DASH\AppData\Roaming\npm\node_modules\phonegap\node_modules\npm\node_m odules\.ansistyles.DELETE' npm ERR! enoent This is related to npm not being able to find a file.

      npm ERR! enoent  npm ERR! A complete log of this run can be found in: npm ERR!

       

      That means nothin to me, connection error? Some version obsolete? Use uuid?? I dont know what's happening here, maybe you guys can understeand and give me a solution?

      C:\Users\DASH\AppData\Roaming\npm-cache\_logs\2018-02-07T17_00_21_7 59Z-debug.log