Skip to content

Building against Node 10 fails. #12

Description

@corvinrok

Compile when trying to npm install this package fails on Node 10 based Windows platform/env :

c:\git\my-project\node_modules\libxmljs-mt\node_modules\nan\nan_maybe_43_inl.h(112): error C2039: 'ForceSet': is not a member of 'v8::Object' (compiling source file ..\src\xml_element.cc) [C:\git\my-project\node_modules\libxmljs-mt\build\xmljs.vcxproj]
  c:\users\myuser\.node-gyp\10.0.0\include\node\v8.h(3111): note: see declaration of 'v8::Object' (compiling source file ..\src\xml_element.cc)
c:\git\my-project\node_modules\libxmljs-mt\node_modules\nan\nan_maybe_43_inl.h(112): error C2039: 'ForceSet': is not a member of 'v8::Object' (compiling source file ..\src\libxmljs.cc) [C:\git\my-project\node_modules\libxmljs-mt\build\xmljs.vcxproj]
  C:\Users\myuser\.node-gyp\10.0.0\include\node\v8.h(3111): note: see declaration of 'v8::Object' (compiling source file ..\src\libxmljs.cc)
c:\git\my-project\node_modules\libxmljs-mt\node_modules\nan\nan_maybe_43_inl.h(112): error C2039: 'ForceSet': is not a member of 'v8::Object' (compiling source file ..\src\xml_attribute.cc) [C:\git\my-project\node_modules\libxmljs-mt\build\xmljs.vcxproj]
  C:\Users\myuser\.node-gyp\10.0.0\include\node\v8.h(3111): note: see declaration of 'v8::Object' (compiling source file ..\src\xml_attribute.cc)
c:\git\my-project\node_modules\libxmljs-mt\node_modules\nan\nan_maybe_43_inl.h(112): error C2039: 'ForceSet': is not a member of 'v8::Object' (compiling source file ..\src\xml_namespace.cc) [C:\git\my-project\node_modules\libxmljs-mt\build\xmljs.vcxproj]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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