Closed lietu closed 10 years ago
@lietu
Error code ENOENT 34 indicates "no such file or directory".
It appears that node is looking npm modules in two places:
C:\Users\lietu\AppData\Roaming\npm\node_modules
and
C:\Program Files\nodejs\node_modules\npm
I'm not too sure why this is the case, but I think the problem resolved itself once node was able to successfully install everything in a single location
closing as unreplicated.
I hope the above solves your problem. If it does not, please contact me and I can help to troubleshoot this with you.
Installing PhoneGap on Windows 7 keeps giving weird errors:
I just installed Node.js v0.10.28, there's nothing old there, the system shouldn't be in any way that special.
I've tried to run
npm cache clear
,npm rm -g phonegap
and thennpm install -g phonegap
several times.Here's the full output from installation on a clean system:
What's even more weird is that if I repeatedly run
npm install -g phonegap
, the errors change, and once after trying like 20 times and seeing a weird combination of those errors it finally installed fine.I have free disk space, using a normal NTFS filesystem, etc.
Also on a sidenote, the installation worked perfectly fine on the first try on a linux system.