Windows: Cannot find script file "C:\res\windows\zip.js" #81
Comments
Reference#77 uncovered this issue. |
Thanks @mwbrooks. I can confirm the zip error message on remote build.
I also get this zip error on a local run/build as well.
Two things to note...
Not sure if the run process creates that folder for me...... |
Awesome, I'm glad you're seeing the same error as me. The above commit should address that error message. However, I am now seeing a new error. I am curious whether the new error is Windows 8 specific or happening on Windows 7. Would you mind testing it on your system? The latest fix is available on npm as You can update to the latest version by running:
|
Awesome, thanks for confirming that. Alright, I guess I'm going to have to learn some Windows Script Host syntax 😣 That |
ping @bennmapes - any leads on what that error message is about? It looks like |
Update: @bennmapes I think I've figured out the WScript and fixed the thrown issue. I'll get you to review the code once it's reimplemented. |
Awesome, sounds good. |
I've logged this issues as phonegap/node-phonegap-build#39 |
Published on npm as @red2678 would you mind giving it a try on your end? Thanks. |
BOOM! @mwbrooks @bennmapes You guys rock. I owe you both a beer (or a few). Hope to see you at PhoneGap day 2013! Thanks, ~Anthony Fix Confirmed:
|
I got a problem just like the above, in phonegap 3.0.0-0.14.0 on windows, i don't know wether there is some relationship? it said that(I translate them from chinese ) node_modules\phonegap\node_modules\phonegap-build\res\windows\zip.js |
O, the D: drive, I'm not sure how well node handles that. I have not tested on a drive other then C: so I'm not exactly sure where the issue lies here. If you have a C: drive try running it from there to see if it works. |
Hi @hick What version of Windows are you running (e.g. Windows XP, 7, or 8)? Michael |
@mwbrooks windows XP(5.1.2600). I know some about javascript, and checked the code of zip.js at line 44 "var zipFolder = shell.NameSpace(zipPath)," I did a hard code to change the zipPath to "www.zip", then I ran "phonegap run android", it generated the 'build/www.zip'(the size was only 1k, I thought it was not a valid zip file), and then disappeared after another html error came in the command-line as the picture the picture above was the first time I ran "phonegap run android", and after that, however I ran it again, it said that and no www.zip was generated. |
@bennmapes thx, Is it about the phonegap app, or the npm package that should be on the C: drive? I will reinstall the npm package to try it again. |
Thanks for all the details @hick! Since it works fine on your Windows 8 (and my Windows 7 and 8), I think this is an error related to Windows XP. I currently don't have Windows XP installed on my system, but I can go ahead and install it to try and recreate your issue. As some background, the |
zip.js |
Closing this issue. Feel free to re-open if the issue persists on Windows XP. |
I had exactly the same problem @pedroflex, I entered to my adobe account and I could see the correct qr. Greetings! |
oh thanks so much I jsut logged into adobe and it works Ive got the code On Sat, Sep 14, 2013 at 7:14 PM, Francis Gonzales
|
hehe, It works for me now! thanks a lot! |
The same error with @hick,it still exists in phonegap@3.1.0-0.15.0,OS:windows XP |
Operating System
Environment
Command
Error
A dialog box saying: Cannot find script file "C:\res\windows\zip.js"
The text was updated successfully, but these errors were encountered: