Skip to content

createPage hangs when using socket.io >= 1.0.0 #102

@abastos-tui

Description

@abastos-tui

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions