2 Replies Latest reply on Oct 16, 2017 9:12 AM by jcesarmobile_

    npm install of phonegap is failing

    williamh49973638

      The error I get is

       

      44035 silly finalize C:\Users\williamham\AppData\Roaming\npm\node_modules\phonegap\node_modules\cordova-lib\no de_modules\ansi

      44036 verbose unlock done using C:\Users\williamham\AppData\Roaming\npm-cache\_locks\staging-24c5b774952b8f89.lock for C:\Users\williamham\AppData\Roaming\npm\node_modules\.staging

      44037 silly rollbackFailedOptional Starting

      44038 silly rollbackFailedOptional Finishing

      44039 silly runTopLevelLifecycles Finishing

      44040 silly install printInstalled

      44041 verbose stack Error: ENOENT: no such file or directory, rename 'C:\Users\williamham\AppData\Roaming\npm\node_modules\.staging\ansi-34072c56' -> 'C:\Users\williamham\AppData\Roaming\npm\node_modules\phonegap\node_modules\cordova-lib\n ode_modules\ansi'

      44041 verbose stack     at destStatted (C:\Program Files\nodejs\node_modules\npm\lib\install\action\finalize.js:25:7)

      44041 verbose stack     at FSReqWrap.oncomplete (fs.js:123:15)

      44041 verbose stack

       

      I'm running: npm install -g phonegap@latest

       

      Should I try another version?