davidmarkclements / screenres

Get and set screen resolutions
Other
20 stars 12 forks source link

Cannot install on Win10 Node.js v12.14.0 #13

Open Ni55aN opened 4 years ago

Ni55aN commented 4 years ago

Logs:

<path to project>\node_modules\screenres\screenres.cc(15): error C2039: Handle:  not a member of "v8" [D:\Workflow\dynamic-wallpapers\nodegui-s
tarter\node_modules\screenres\build\screenres.vcxproj]
  c:\users\ni55an\appdata\local\node-gyp\cache\12.14.0\include\node\v8-platform.h(16): note:  see the "v8" declaration
<path to project>\node_modules\screenres\screenres.cc(15): error C2873: Handle: using a symbol in a "using" declaration is not allowed [D:\Wor 
kflow\dynamic-wallpapers\nodegui-starter\node_modules\screenres\build\screenres.vcxproj]
<path to project>\node_modules\screenres\screenres.cc(22): error C2065: Handle:undeclared identifier [D:\Workflow\dynamic-wallpapers\nodeg
ui-starter\node_modules\screenres\build\screenres.vcxproj]
<path to project>\node_modules\screenres\screenres.cc(22): error C2275: v8::Object: illegal use of this type as an expression [D 
:\Workflow\dynamic-wallpapers\nodegui-starter\node_modules\screenres\build\screenres.vcxproj]
  c:\users\ni55an\appdata\local\node-gyp\cache\12.14.0\include\node\v8.h(3400): note: see announcement "v8::Object"
<path to project>\node_modules\screenres\screenres.cc(22): error C2059: syntax error: ) [<path to project>\
node_modules\screenres\build\screenres.vcxproj]
<path to project>\node_modules\screenres\screenres.cc(26): error C2660: v8::Value::Uint32Value: the function doesn't take 0 arguments [D:\Workflow\dy 
namic-wallpapers\nodegui-starter\node_modules\screenres\build\screenres.vcxproj]
  c:\users\ni55an\appdata\local\node-gyp\cache\12.14.0\include\node\v8.h(2611): note: see announcement "v8::Value::Uint32Value" (compiling the source file ..\screenres.cc)   
<path to project>\node_modules\screenres\screenres.cc(26): error C2660: changeRes: the function doesn't take 1 arguments [D:\Workflow\dynamic-wallpap 
ers\nodegui-starter\node_modules\screenres\build\screenres.vcxproj]
  <path to project>\node_modules\screenres\headers.h(15): note:   see announcement "changeRes" (compiling the source file ..\screenres.cc)
<path to project>\node_modules\screenres\screenres.cc(39): warning C4996: 'v8::Object::Set': объявлен deprecate [D:\Workflow\dynamic-wallpapers\n 
odegui-starter\node_modules\screenres\build\screenres.vcxproj]
  c:\users\ni55an\appdata\local\node-gyp\cache\12.14.0\include\node\v8.h(3411): note:   see announcement "v8::Object::Set"
<path to project>\node_modules\screenres\screenres.cc(40): warning C4996: 'v8::Object::Set': объявлен deprecate [D:\Workflow\dynamic-wallpapers\n 
odegui-starter\node_modules\screenres\build\screenres.vcxproj]
  c:\users\ni55an\appdata\local\node-gyp\cache\12.14.0\include\node\v8.h(3411): note:   see announcement "v8::Object::Set"
<path to project>\node_modules\screenres\screenres.cc(45): error C2660: v8::FunctionTemplate::GetFunction: the function doesn't take 0 arguments [D:\ 
Workflow\dynamic-wallpapers\nodegui-starter\node_modules\screenres\build\screenres.vcxproj]
  c:\users\ni55an\appdata\local\node-gyp\cache\12.14.0\include\node\v8.h(5995): note:   see announcement "v8::FunctionTemplate::GetFunction" (compiling the source file ..\scre
  enres.cc)
<path to project>\node_modules\screenres\screenres.cc(45): error C2661: Nan::Set: no overloaded function taking 2 arguments [D:\Workflo
w\dynamic-wallpapers\nodegui-starter\node_modules\screenres\build\screenres.vcxproj]
<path to project>\node_modules\screenres\screenres.cc(46): error C2660: v8::FunctionTemplate::GetFunction: the function doesn't take 0 arguments [D:\ 
Workflow\dynamic-wallpapers\nodegui-starter\node_modules\screenres\build\screenres.vcxproj]
  c:\users\ni55an\appdata\local\node-gyp\cache\12.14.0\include\node\v8.h(5995): note:   see announcement "v8::FunctionTemplate::GetFunction" (compiling the source file ..\scre 
  enres.cc)
<path to project>\node_modules\screenres\screenres.cc(46): error C2661: Nan::Set: no overloaded function taking 2 arguments [D:\Workflo 
w\dynamic-wallpapers\nodegui-starter\node_modules\screenres\build\screenres.vcxproj]