phonegap / node-phonegap-build

PhoneGap Build node module to login, create, and build apps.
Apache License 2.0
25 stars 25 forks source link

No zip.js with npm, manual download causes error #61

Open Makeshift opened 9 years ago

Makeshift commented 9 years ago

Hi guys. Not sure if this is a duplicate of #81/ #77/a few others, but I'm also having an issue with zip.js. On a clean install of Node on Windows 8.1 in an administrator prompt, I run:

npm install -g phonegap phonegap create my-app cd my-app phonegap run android

This meets with the "Cannot find script file "C:\res\windows\zip.js" error. If I download zip.js from this repo and stick it in C:\res\windows\zip.js and C:\users\cbl\res\windows\zip.js it throws: image Followed by "Failed to create the zip file: C:\Users\cbl\Desktop\my-app\build\www.zip" in the console under error.

In this case the cmd was pointed at my desktop, but it creates the same error on C:\ as well.

Cheers.

Edit: Same issue on a Windows 7 VM.