Skip to content

Compilation of socket.io fails: no member named 'ThrowException' in namespace 'v8' #3826

@yurivict

Description

@yurivict
In file included from ../src/bufferutil.cc:15:
/usr/ports/distfiles/etherpad-lite-1.5.7/node_modules/ep_etherpad-lite/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/nan/nan.h:213:5: error: no member named 'ThrowException' in namespace 'v8'
    _NAN_THROW_ERROR(v8::Exception::Error, errmsg);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Another problem is that this compile failure doesn't cause 'npm install' to fail

node-4.2.1, npm-2.14.7, on FreeBSD

Metadata

Metadata

Assignees

No one assigned

    Labels

    freebsdIssues and PRs related to the FreeBSD platform.v8 engineIssues and PRs related to the V8 dependency.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions