Closed Crisisyun closed 10 years ago
I also the same problem, xxx.nw too big? not unpacked my xxx.nw, is 2MB
The bug maybe there's some error about your files name.Please make sure your files name is all lower and no number.
Same issue. I followed https://github.com/rogerwang/node-webkit/blob/master/README.md#quick-start
I come across the same question, so how to solve it!
I am also unable to unzip. Could it be the program used to create zip. I am on linux, installed p7zip-full via sudo apt-get install p7zip-full
and zipped via command 7z a hello_app.7z index.html package.json
then renamed as specified mv hell_app.7z app.nw
.
The problem for me is using the incorrect zip program. I removed the app.nw file, in the hello-world folder I issue zip data *
then rename data.zip to app.nw.
WORKS
@mozillanerd You can still use 7z
, just don't forget the -tzip
switch for it to generate .zip
file instead of .7z
.
I have same issue. Using following steps could be successful. Step 1: D:\node-webkit-v0.9.2-win-ia32 folder i created two files: index.html and package.json. I used 7z to compress it. Step 2: in CMD(window) you move pointer to node-webkit-v0.9.2-win-ia32 folder and run: nw app.nw
Have a good success!!!
¡¡Solved!! It`s not zip program trouble.
Look for hidden files name ending with ~ and delete all. I found some of them inside node_modules subdirectories.
They're backup files from linux files, not really needed by the app.
met same problem...
i come across the same problem, and manage to solve it by replace those Chinese file name to english. Guess NodeWebKit zip module dosen't quite support unicode path, which is common issue for many software.
hi
may be cool to ignore files ending with ~ too seems problematic on osX ...
thanks
Le 10/10/2014 07:08, imkevinyang a écrit :
i come across the same problem, and manage to solve it by replace those Chinese file name to english. Guess NodeWebKit zip module dosen't quite support unicode path, which is common issue for many software.
— Reply to this email directly or view it on GitHub https://github.com/rogerwang/node-webkit/issues/1493#issuecomment-58613138.
put the path between double quotation like this nw "D:\program files............"
Got the same problem, and fixed by checking all the filenames in folder. By doing testing on windows, found that: 1 all file name in normal characters, its ok 2 name with Chinese\Japanese characters will fail to unzip by nw
some test case here(in windows 8 & nwjs-v0.12.0-win-x64) index.html + package.json ................................ OK index.html + package.json + ~.txt......................OK index.html + package.json + ~~........................ OK index.html + package.json + ~~.~ .....................OK index.html + package.json + 中文.txt ..............Failed index.html + package.json + Françai................OK index.html + package.json + 日本語.txt............Failed
not test in linux yet.
After package