Closed starrychloe closed 8 years ago
Hi @starrychloe,
Thanks for the log output!
Unfortunately, at the moment you need Visual Studio installed on your system in order to install PhoneGap using npm. This is because we use the socket.io library, which requires a module to be compiled.
MSBUILD : error MSB3411: Could not load the Visual C++ component "VCBuild.exe". If the component is not installed, either 1) install the Microsoft Windows SDK for Windows Server 2008 and .NET Framework 3.5, or 2) install Microsoft Visual Studio 2008.
This has caused a lot of issues for Windows users and I am tempted to remove socket.io entirely. However, let me know if Visual Studio helps to solve your issue.
I believe the latest socket.io plugin helps to improve this issue on Windows. We have updated it numerous times, but I've filed this under Issues & Improvements to look into it more, soon.
I got this above error when trying to install on Windows. The docs don't mention Python or Visual Studio.
http://stackoverflow.com/questions/34784566/how-do-i-install-phonegap-on-windows-using-chocolatey
I also tried to install in a "Node.js Command Prompt" but then it gave me a different error: