Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

io.js still broken #201

Closed
bastimeyer opened this issue Mar 6, 2015 · 6 comments
Closed

io.js still broken #201

bastimeyer opened this issue Mar 6, 2015 · 6 comments

Comments

@bastimeyer
Copy link
Contributor

Despite the fix of #197, io.js still doesn't work correctly. We've just fixed the uncaught TypeError which prevented the execution. I thought it was working again, because I was able to build my application like before while using nodejs.

What I did not test was the nw.js cache download and archive extraction.
The archive gets properly downloaded, but it hangs afterwards (with 100% CPU usage) while trying to extract it. The file structure of the cache folder is also messed up and the filesize of the executable is only 64KiB.

Tested with io.js v1.4.2 and nw.js v0.11.6 and v0.12.0 on linux64...

.:
total 440K
-rw-r--r-- 1 basti basti  64K Mar  6 13:50 credits.html
-rw-r--r-- 1 basti basti  64K Mar  6 13:50 icudtl.dat
-rwxr-xr-x 1 basti basti  64K Mar  6 13:50 libffmpegsumo.so*
drwxr-xr-x 2 basti basti 4.0K Mar  6 13:50 locales/
drwxr-xr-x 3 basti basti 4.0K Jan 21 07:52 node-webkit-v0.11.6-linux-x64/
-rwxr-xr-x 1 basti basti  64K Mar  6 13:50 nw*
-rw-r--r-- 1 basti basti  64K Mar  6 13:50 nw.pak
-rwxr-xr-x 1 basti basti  64K Mar  6 13:50 nwsnapshot*

./locales:
total 0

./node-webkit-v0.11.6-linux-x64:
total 99M
-rw-rw-r-- 1 basti basti 810K Jan 21 07:52 credits.html
-rw-rw-r-- 1 basti basti  10M Jan 21 07:52 icudtl.dat
-rwxr-xr-x 1 basti basti 4.5M Jan 21 07:52 libffmpegsumo.so*
drwxr-xr-x 2 basti basti  12K Nov 26 06:23 locales/
-rwxr-xr-x 1 basti basti  70M Jan 21 07:52 nw*
-rw-rw-r-- 1 basti basti 5.6M Jan 21 07:52 nw.pak
-rwxr-xr-x 1 basti basti 8.6M Jan 21 07:52 nwsnapshot*

./node-webkit-v0.11.6-linux-x64/locales:
total 636K
-rw-r--r-- 1 basti basti 15 Nov 26 06:23 am.pak
[all the other .pak files]
@bastimeyer
Copy link
Contributor Author

Ok, found the fix for that. It was another dependency issue.
@adam-lynch
Could you please update the dependency of ncp in graceful-ncp to ^2.0.0?
The issue was fixed here AvianFlu/ncp@b920f53 (the process.version regexp failed, but is now removed) and they also bumped their version afterwards to 2.0.0.

@adam-lynch
Copy link
Contributor

Done

@bastimeyer
Copy link
Contributor Author

Thanks, but I think you forgot to update graceful-fs-extra as well (now that you've also bumped the version of graceful-ncp)... The grunt repo is also pointing to an invalid version... 😞
nwjs/grunt-nw-builder@8fb50f7

npm cache clean
npm install grunt-node-webkit-builder

@adam-lynch
Copy link
Contributor

Ah! graceful-fs-extra 1.0.5 & grunt-node-webkit-builder 1.0.2 published. Try again?

@bastimeyer
Copy link
Contributor Author

Worked, ty...

@taktran
Copy link

taktran commented Mar 12, 2015

@bastimeyer did you get it working with nwjs 0.12.0 and iojs 1.4.2, on osx?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants