Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Unable to download phonegap using npm #5566

Closed
zeeshii opened this issue Jun 28, 2014 · 5 comments
Closed

Unable to download phonegap using npm #5566

zeeshii opened this issue Jun 28, 2014 · 5 comments
Labels

Comments

@zeeshii
Copy link

zeeshii commented Jun 28, 2014

C:\>npm install -g phonegap
npm ERR! Error: UNKNOWN, open 'C:\Users\Gheiath Ewais\AppData\Roaming\npm-cache\
dep-graph\1.1.0\package\package.json'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nod
ejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "phonegap"
npm ERR! cwd C:\
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! path C:\Users\Gheiath Ewais\AppData\Roaming\npm-cache\dep-graph\1.1.0\p
ackage\package.json
npm ERR! code UNKNOWN
npm ERR! errno -1
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     C:\npm-debug.log
npm ERR! not ok code 0
@zeeshii zeeshii changed the title Unable to download phonegap using nmp Unable to download phonegap using npm Jun 28, 2014
@zeeshii
Copy link
Author

zeeshii commented Jun 29, 2014

reinstall package.json using
npm install read-package-json

@othiym23
Copy link
Contributor

I think you might have better luck if you run npm cache clean dep-graph, but you should also upgrade to npm 1.4.17, because there was a bug in how 1.4.14 and earlier handled complex installs like phonegap.

@smikes
Copy link
Contributor

smikes commented Jan 29, 2015

Is this still a problem for you?

There have been a lot of improvements to npm -- especially around conflicts and race conditions during install -- since 1.4.14. Can you try updating your npm installation?

To update npm on Windows, follow the instructions here: https://github.com/npm/npm/wiki/Troubleshooting#upgrading-on-windows

We are trying to clean up older npm issues, so if we don't hear back from you within a week, we will close this issue. (Don't worry -- you can always come back again and open a new issue!)

Thanks!

@zeeshii
Copy link
Author

zeeshii commented Jan 29, 2015

Thank you sam for your kind concern. Right now i am not using phonegape
infect not on the mobile development. In future i defiantly want to
experience your efforts through npm. thank you.

On 29 January 2015 at 17:49, Sam Mikes notifications@github.com wrote:

Is this still a problem for you?

There have been a lot of improvements to npm -- especially around
conflicts and race conditions during install -- since 1.4.14. Can you try
updating your npm installation?

To update npm on Windows, follow the instructions here:
https://github.com/npm/npm/wiki/Troubleshooting#upgrading-on-windows

We are trying to clean up older npm issues, so if we don't hear back from
you within a week, we will close this issue. (Don't worry -- you can always
come back again and open a new issue!)

Thanks!


Reply to this email directly or view it on GitHub
#5566 (comment).

@othiym23
Copy link
Contributor

Closing as resolved. Let us know if, in the future, you encounter similar issues when working with Phonegap with newer versions of npm.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants