node-clr
node-clr copied to clipboard
Unable to build against node v8.9.1
Looks like updating was a rather bad idea:
DllMain.cc node-clr.cc Marshal.cc CLRObject.cc C:\Users\Guevara-chan.node-gyp\8.9.1\include\node\v8.h(4124): error C2664: 'std::pair<std::unique_ptr<const uint8_t [] ,std::default_delete<_Ty>>,std::size_t>::pair(std::pair<std::unique_ptr<_Ty,std::default_delete<_Ty>>,std::size_t> &&)' : cannot convert argument 1 from 'nullptr' to 'nullptr &&' [C:\Users\Guevara-chan\AppData\Roaming\npm\node_modules\clr
build\clr.vcxproj] with [ _Ty=const uint8_t [] ] (compiling source file ..\src\node-clr.cc) C:\Users\Guevara-chan.node-gyp\8.9.1\include\node\v8.h(4124): note: nullptr can only be converted to pointer or hand le types (compiling source file ..\src\node-clr.cc) C:\Users\Guevara-chan.node-gyp\8.9.1\include\node\v8.h(4124): error C2664: 'std::pair<std::unique_ptr<const uint8_t [] ,std::default_delete<_Ty>>,std::size_t>::pair(std::pair<std::unique_ptr<_Ty,std::default_delete<_Ty>>,std::size_t> &&)' : cannot convert argument 1 from 'nullptr' to 'nullptr &&' [C:\Users\Guevara-chan\AppData\Roaming\npm\node_modules\clr
build\clr.vcxproj] with [ _Ty=const uint8_t [] ] (compiling source file ..\src\CLRObject.cc) C:\Users\Guevara-chan.node-gyp\8.9.1\include\node\v8.h(4124): note: nullptr can only be converted to pointer or hand le types (compiling source file ..\src\CLRObject.cc) C:\Users\Guevara-chan.node-gyp\8.9.1\include\node\v8.h(4124): error C2664: 'std::pair<std::unique_ptr<const uint8_t [] ,std::default_delete<_Ty>>,std::size_t>::pair(std::pair<std::unique_ptr<_Ty,std::default_delete<_Ty>>,std::size_t> &&)' : cannot convert argument 1 from 'nullptr' to 'nullptr &&' [C:\Users\Guevara-chan\AppData\Roaming\npm\node_modules\clr
build\clr.vcxproj] with [ _Ty=const uint8_t [] ] (compiling source file ..\src\Marshal.cc) C:\Users\Guevara-chan.node-gyp\8.9.1\include\node\v8.h(4124): note: nullptr can only be converted to pointer or hand le types (compiling source file ..\src\Marshal.cc) C:\Users\Guevara-chan.node-gyp\8.9.1\include\node\v8.h(4124): error C2664: 'std::pair<std::unique_ptr<const uint8_t [] ,std::default_delete<_Ty>>,std::size_t>::pair(std::pair<std::unique_ptr<_Ty,std::default_delete<_Ty>>,std::size_t> &&)' : cannot convert argument 1 from 'nullptr' to 'nullptr &&' [C:\Users\Guevara-chan\AppData\Roaming\npm\node_modules\clr
build\clr.vcxproj] with [ _Ty=const uint8_t [] ] (compiling source file ..\src\DllMain.cc) C:\Users\Guevara-chan.node-gyp\8.9.1\include\node\v8.h(4124): note: nullptr can only be converted to pointer or hand le types (compiling source file ..\src\DllMain.cc) C:\Users\Guevara-chan.node-gyp\8.9.1\include\node\v8.h(4125): error C2664: 'std::pair<std::unique_ptr<const uint8_t [] ,std::default_delete<_Ty>>,std::size_t>::pair(std::pair<std::unique_ptr<_Ty,std::default_delete<_Ty>>,std::size_t> &&)' : cannot convert argument 1 from 'nullptr' to 'nullptr &&' [C:\Users\Guevara-chan\AppData\Roaming\npm\node_modules\clr
build\clr.vcxproj] with [ _Ty=const uint8_t [] ] (compiling source file ..\src\node-clr.cc) C:\Users\Guevara-chan.node-gyp\8.9.1\include\node\v8.h(4125): note: nullptr can only be converted to pointer or hand le types (compiling source file ..\src\node-clr.cc) C:\Users\Guevara-chan.node-gyp\8.9.1\include\node\v8.h(4125): error C2664: 'std::pair<std::unique_ptr<const uint8_t [] ,std::default_delete<_Ty>>,std::size_t>::pair(std::pair<std::unique_ptr<_Ty,std::default_delete<_Ty>>,std::size_t> &&)' : cannot convert argument 1 from 'nullptr' to 'nullptr &&' [C:\Users\Guevara-chan\AppData\Roaming\npm\node_modules\clr
build\clr.vcxproj] with [ _Ty=const uint8_t [] ] (compiling source file ..\src\CLRObject.cc) C:\Users\Guevara-chan.node-gyp\8.9.1\include\node\v8.h(4125): note: nullptr can only be converted to pointer or hand le types (compiling source file ..\src\CLRObject.cc) C:\Users\Guevara-chan.node-gyp\8.9.1\include\node\v8.h(4125): error C2664: 'std::pair<std::unique_ptr<const uint8_t [] ,std::default_delete<_Ty>>,std::size_t>::pair(std::pair<std::unique_ptr<_Ty,std::default_delete<_Ty>>,std::size_t> &&)' : cannot convert argument 1 from 'nullptr' to 'nullptr &&' [C:\Users\Guevara-chan\AppData\Roaming\npm\node_modules\clr
build\clr.vcxproj] with [ _Ty=const uint8_t [] ] (compiling source file ..\src\Marshal.cc) C:\Users\Guevara-chan.node-gyp\8.9.1\include\node\v8.h(4125): note: nullptr can only be converted to pointer or hand le types (compiling source file ..\src\Marshal.cc) C:\Users\Guevara-chan.node-gyp\8.9.1\include\node\v8.h(4125): error C2664: 'std::pair<std::unique_ptr<const uint8_t [] ,std::default_delete<_Ty>>,std::size_t>::pair(std::pair<std::unique_ptr<_Ty,std::default_delete<_Ty>>,std::size_t> &&)' : cannot convert argument 1 from 'nullptr' to 'nullptr &&' [C:\Users\Guevara-chan\AppData\Roaming\npm\node_modules\clr
build\clr.vcxproj] with [ _Ty=const uint8_t [] ] (compiling source file ..\src\DllMain.cc) C:\Users\Guevara-chan.node-gyp\8.9.1\include\node\v8.h(4125): note: nullptr can only be converted to pointer or hand le types (compiling source file ..\src\DllMain.cc) CLRBinder.cc V8Function.cc V8Delegate.cc V8InvocationException.cc C:\Users\Guevara-chan.node-gyp\8.9.1\include\node\v8.h(4124): error C2664: 'std::pair<std::unique_ptr<const uint8_t [] ,std::default_delete<_Ty>>,std::size_t>::pair(std::pair<std::unique_ptr<_Ty,std::default_delete<_Ty>>,std::size_t> &&)' : cannot convert argument 1 from 'nullptr' to 'nullptr &&' [C:\Users\Guevara-chan\AppData\Roaming\npm\node_modules\clr
build\clr.vcxproj] with [ _Ty=const uint8_t [] ] (compiling source file ..\src\CLRBinder.cc) C:\Users\Guevara-chan.node-gyp\8.9.1\include\node\v8.h(4124): note: nullptr can only be converted to pointer or hand le types (compiling source file ..\src\CLRBinder.cc) C:\Users\Guevara-chan.node-gyp\8.9.1\include\node\v8.h(4125): error C2664: 'std::pair<std::unique_ptr<const uint8_t [] ,std::default_delete<_Ty>>,std::size_t>::pair(std::pair<std::unique_ptr<_Ty,std::default_delete<_Ty>>,std::size_t> &&)' : cannot convert argument 1 from 'nullptr' to 'nullptr &&' [C:\Users\Guevara-chan\AppData\Roaming\npm\node_modules\clr
build\clr.vcxproj] with [ _Ty=const uint8_t [] ] (compiling source file ..\src\CLRBinder.cc) C:\Users\Guevara-chan.node-gyp\8.9.1\include\node\v8.h(4125): note: nullptr can only be converted to pointer or hand le types (compiling source file ..\src\CLRBinder.cc) C:\Users\Guevara-chan.node-gyp\8.9.1\include\node\v8.h(4124): error C2664: 'std::pair<std::unique_ptr<const uint8_t [] ,std::default_delete<_Ty>>,std::size_t>::pair(std::pair<std::unique_ptr<_Ty,std::default_delete<_Ty>>,std::size_t> &&)' : cannot convert argument 1 from 'nullptr' to 'nullptr &&' [C:\Users\Guevara-chan\AppData\Roaming\npm\node_modules\clr
build\clr.vcxproj] with [ _Ty=const uint8_t [] ] (compiling source file ..\src\V8Function.cc) C:\Users\Guevara-chan.node-gyp\8.9.1\include\node\v8.h(4124): note: nullptr can only be converted to pointer or hand le types (compiling source file ..\src\V8Function.cc) C:\Users\Guevara-chan.node-gyp\8.9.1\include\node\v8.h(4125): error C2664: 'std::pair<std::unique_ptr<const uint8_t [] ,std::default_delete<_Ty>>,std::size_t>::pair(std::pair<std::unique_ptr<_Ty,std::default_delete<_Ty>>,std::size_t> &&)' : cannot convert argument 1 from 'nullptr' to 'nullptr &&' [C:\Users\Guevara-chan\AppData\Roaming\npm\node_modules\clr
build\clr.vcxproj] with [ _Ty=const uint8_t [] ] (compiling source file ..\src\V8Function.cc) C:\Users\Guevara-chan.node-gyp\8.9.1\include\node\v8.h(4125): note: nullptr can only be converted to pointer or hand le types (compiling source file ..\src\V8Function.cc) C:\Users\Guevara-chan.node-gyp\8.9.1\include\node\v8.h(4124): error C2664: 'std::pair<std::unique_ptr<const uint8_t [] ,std::default_delete<_Ty>>,std::size_t>::pair(std::pair<std::unique_ptr<_Ty,std::default_delete<_Ty>>,std::size_t> &&)' : cannot convert argument 1 from 'nullptr' to 'nullptr &&' [C:\Users\Guevara-chan\AppData\Roaming\npm\node_modules\clr
build\clr.vcxproj] with [ _Ty=const uint8_t [] ] (compiling source file ..\src\V8InvocationException.cc) C:\Users\Guevara-chan.node-gyp\8.9.1\include\node\v8.h(4124): note: nullptr can only be converted to pointer or hand le types (compiling source file ..\src\V8InvocationException.cc) C:\Users\Guevara-chan.node-gyp\8.9.1\include\node\v8.h(4125): error C2664: 'std::pair<std::unique_ptr<const uint8_t [] ,std::default_delete<_Ty>>,std::size_t>::pair(std::pair<std::unique_ptr<_Ty,std::default_delete<_Ty>>,std::size_t> &&)' : cannot convert argument 1 from 'nullptr' to 'nullptr &&' [C:\Users\Guevara-chan\AppData\Roaming\npm\node_modules\clr
build\clr.vcxproj] with [ _Ty=const uint8_t [] ] (compiling source file ..\src\V8InvocationException.cc) C:\Users\Guevara-chan.node-gyp\8.9.1\include\node\v8.h(4125): note: nullptr can only be converted to pointer or hand le types (compiling source file ..\src\V8InvocationException.cc) C:\Users\Guevara-chan.node-gyp\8.9.1\include\node\v8.h(4124): error C2664: 'std::pair<std::unique_ptr<const uint8_t [] ,std::default_delete<_Ty>>,std::size_t>::pair(std::pair<std::unique_ptr<_Ty,std::default_delete<_Ty>>,std::size_t> &&)' : cannot convert argument 1 from 'nullptr' to 'nullptr &&' [C:\Users\Guevara-chan\AppData\Roaming\npm\node_modules\clr
build\clr.vcxproj] with [ _Ty=const uint8_t [] ] (compiling source file ..\src\V8Delegate.cc) C:\Users\Guevara-chan.node-gyp\8.9.1\include\node\v8.h(4124): note: nullptr can only be converted to pointer or hand le types (compiling source file ..\src\V8Delegate.cc) C:\Users\Guevara-chan.node-gyp\8.9.1\include\node\v8.h(4125): error C2664: 'std::pair<std::unique_ptr<const uint8_t [] ,std::default_delete<_Ty>>,std::size_t>::pair(std::pair<std::unique_ptr<_Ty,std::default_delete<_Ty>>,std::size_t> &&)' : cannot convert argument 1 from 'nullptr' to 'nullptr &&' [C:\Users\Guevara-chan\AppData\Roaming\npm\node_modules\clr
build\clr.vcxproj] with [ _Ty=const uint8_t [] ] (compiling source file ..\src\V8Delegate.cc) C:\Users\Guevara-chan.node-gyp\8.9.1\include\node\v8.h(4125): note: nullptr can only be converted to pointer or hand le types (compiling source file ..\src\V8Delegate.cc)
Ahem...
wait, I'm not now able to handle this issue, so please be patient.
Seems that latest node runtime relies on Visual C++ 2017. Try "npm install clr --msvs_version=2017" with 2017 compiler (http://landinghub.visualstudio.com/visual-cpp-build-tools)