createPage hangs when using socket.io >= 1.0.0
After recent release of version 1.0 of socket.io, node-phantom package hangs when calling the .createPage method.
This happened because of the dependency at package.json: "socket.io": ">= 0.9.17".
The new socket.io version is not compatible backwards. When using node-phantom within a fresh installation, version 1.0.x is retrieved due to the previous dependency, but node-phantom internal code fails to use the changes made from 0.9.x.
I solved that adding a "socket.io": "0.9.x" dependency in my main package, avoiding the node-phantom dependency to be fetched. My suggestion is to change the node-phantom dependency to "socket.io": "0.9.17" until code changes are applied to suport the new socket.io version.
@abastos-tui I ran into this too. Thank you for this info and suggestion(s). Your suggestion for a temp fix works great in my case as well.
+1
@abastos-tui, thanks so much for this workaround. Worked wonderfully.
Thank you for the workaround!
This issue is responsible for #58. The workaround worked.