• 想问一下安装 STF 是否只能用 node v8.9.1 + npm 6.0.0,我 NPM 6.0,node 12.4 安装失败。部分错误代码

    ============

    In file included from ../src/bufferutil.cc:16:
    In file included from ../../_nan@2.4.0@nan/nan.h:190:
    ../../_nan@2.4.0@nan/nan_maybe_43_inl.h:88:15: error: no member named 'ForceSet' in 'v8::Object'
    return obj->ForceSet(GetCurrentContext(), key, value, attribs);

    In file included from ../src/bufferutil.cc:16:
    In file included from ../../_nan@2.4.0@nan/nan.h:195:
    In file included from ../../_nan@2.4.0@nan/nan_converters.h:59:
    ../../_nan@2.4.0@nan/nan_converters_43_inl.h:18:1: warning: 'ToBoolean' is deprecated: ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations]
    X(Boolean)
    ^
    ../../_nan@2.4.0@nan/nan_converters_43_inl.h:15:15: note: expanded from macro 'X'
    return val->To ## TYPE(GetCurrentContext()); \
    ^
    :270:1: note: expanded from here
    ToBoolean
    
  • 你好,想问一下安装 STF 是否只能用 node v8.9.1 + npm 6.0.0,我 NPM 6.0,node 12.4 安装失败。部分错误代码

    ============

    In file included from ../src/bufferutil.cc:16:
    In file included from ../../_nan@2.4.0@nan/nan.h:190:
    ../../_nan@2.4.0@nan/nan_maybe_43_inl.h:88:15: error: no member named 'ForceSet' in 'v8::Object'
    return obj->ForceSet(GetCurrentContext(), key, value, attribs);
    ~~~ ^
    In file included from ../src/bufferutil.cc:16:
    In file included from ../../_nan@2.4.0@nan/nan.h:195:
    In file included from ../../_nan@2.4.0@nan/nan_converters.h:59:
    ../../_nan@2.4.0@nan/nan_converters_43_inl.h:18:1: warning: 'ToBoolean' is deprecated: ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations]
    X(Boolean)
    ^
    ../../_nan@2.4.0@nan/nan_converters_43_inl.h:15:15: note: expanded from macro 'X'
    return val->To ## TYPE(GetCurrentContext()); \
    ^
    :270:1: note: expanded from here
    ToBoolean