octalmage / robotjs

Node.js Desktop Automation.
http://robotjs.io
MIT License
12.4k stars 971 forks source link

Fails to build for electron #676

Closed quinton-ashley closed 3 years ago

quinton-ashley commented 3 years ago

I'm using the latest versions of electron-builder and node-gyp. I'm using the current LTS version of node 14.

quint@DESKTOP-IGEGRKI MINGW64 /e/dev/apps/nostlan (master) $ electron-builder -w • electron-builder version=22.11.7 os=10.0.19043 • loaded configuration file=package.json ("build" field) • rebuilding native dependencies dependencies=robotjs@0.6.0, sharp@0.27.1, usb@1.7.1 platform=win32 arch=x64 • install prebuilt binary name=robotjs version=0.6.0 platform=win32 arch=x64 napi= • build native dependency from sources name=robotjs version=0.6.0 platform=win32 arch=x64 napi= reason=prebuild-install failed with error (run with env DEBUG=electron-builder to get more information) error=prebuild-install info begin Prebuild-install version 5.3.6 prebuild-install WARN install prebuilt binaries enforced with --force! prebuild-install WARN install prebuilt binaries may be out of date! prebuild-install info looking for cached prebuild @ C:\Users\quint\AppData\Roaming\npm-cache_prebuilds\89c56b-robotjs-v0.6.0-electron-v85-win32-x64.tar.gz prebuild-install http request GET https://github.com/octalmage/robotjs/releases/download/v0.6.0/robotjs-v0.6.0-electron-v85-win32-x64.tar.gz prebuild-install http 404 https://github.com/octalmage/robotjs/releases/download/v0.6.0/robotjs-v0.6.0-electron-v85-win32-x64.tar.gz prebuild-install WARN install No prebuilt binaries found (target=11.2.3 runtime=electron arch=x64 libc= platform=win32)

• install prebuilt binary name=sharp version=0.27.1 platform=win32 arch=x64 napi= • install prebuilt binary name=usb version=1.7.1 platform=win32 arch=x64 napi= ⨯ cannot execute cause=exit status 1 out=

robotjs@0.6.0 install E:\dev\apps\nostlan\node_modules\robotjs prebuild-install || node-gyp rebuild

E:\dev\apps\nostlan\node_modules\robotjs>if not defined npm_config_node_gyp (node "C:\Users\quint\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "C:\Users\quint\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
  robotjs.cc
  win_delay_load_hook.cc
c:\users\quint\.electron-gyp\11.2.3\include\node\cppgc/common.h(17): error C2144: syntax error: 'int' should be preceded by '}' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\cppgc/common.h(17): error C2144: syntax error: 'int' should be preceded by ';' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\cppgc/common.h(18): error C2065: 'kMayContainHeapPointers': undeclared identifier (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\cppgc/common.h(18): error C2513: 'int': no variable declared before '=' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\cppgc/common.h(18): error C2143: syntax error: missing ';' before ',' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\cppgc/common.h(18): error C2059: syntax error: ',' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\cppgc/common.h(22): error C2143: syntax error: missing ';' before '}' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\cppgc/common.h(24): error C2059: syntax error: '}' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\cppgc/common.h(24): error C2143: syntax error: missing ';' before '}' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8-internal.h(16): error C2143: syntax error: missing ';' before '{' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8-internal.h(16): error C2447: '{': missing function header (old-style formal list?) (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(1224): error C2039: 'Address': is not a member of 'v8::internal' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
  c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(126): note: see declaration of 'v8::internal' (compiling source file ..\src\robotjs.cc)
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(1224): error C2143: syntax error: missing ';' before '*' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(1224): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(1225): error C2039: 'Address': is not a member of 'v8::internal' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
  c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(126): note: see declaration of 'v8::internal' (compiling source file ..\src\robotjs.cc)
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(1225): error C2238: unexpected token(s) preceding ';' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(1236): error C2039: 'Address': is not a member of 'v8::internal' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
  c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(126): note: see declaration of 'v8::internal' (compiling source file ..\src\robotjs.cc)
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(1236): error C2143: syntax error: missing ';' before '*' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(1236): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(1236): error C2238: unexpected token(s) preceding ';' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(1237): error C2039: 'Address': is not a member of 'v8::internal' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
  c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(126): note: see declaration of 'v8::internal' (compiling source file ..\src\robotjs.cc)
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(1237): error C2143: syntax error: missing ';' before '*' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(1237): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(1237): error C2238: unexpected token(s) preceding ';' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(1285): error C2039: 'Address': is not a member of 'v8::internal' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
  c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(126): note: see declaration of 'v8::internal' (compiling source file ..\src\robotjs.cc)
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(1285): error C2143: syntax error: missing ';' before '*' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(1285): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(1285): error C2238: unexpected token(s) preceding ';' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(1286): error C2039: 'Address': is not a member of 'v8::internal' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
  c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(126): note: see declaration of 'v8::internal' (compiling source file ..\src\robotjs.cc)
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(1286): error C2143: syntax error: missing ';' before '*' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(1286): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(1286): error C2238: unexpected token(s) preceding ';' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(1311): error C2039: 'Address': is not a member of 'v8::internal' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
  c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(126): note: see declaration of 'v8::internal' (compiling source file ..\src\robotjs.cc)
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(1311): error C2143: syntax error: missing ';' before '*' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(1311): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(1311): error C2238: unexpected token(s) preceding ';' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(3031): error C2039: 'kApiSystemPointerSize': is not a member of 'v8::internal' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
  c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(126): note: see declaration of 'v8::internal' (compiling source file ..\src\robotjs.cc)
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(3031): error C2065: 'kApiSystemPointerSize': undeclared identifier (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(4330): error C2061: syntax error: identifier 'Address' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
  c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(4334): note: see reference to class template instantiation 'v8::ReturnValue<T>' being compiled (compiling source file ..\src\robotjs.cc)
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(4331): error C3646: 'GetDefaultValue': unknown override specifier (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(4331): error C2059: syntax error: ')' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(4331): error C2238: unexpected token(s) preceding ';' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(4332): error C2061: syntax error: identifier 'Address' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(4333): error C2143: syntax error: missing ';' before '*' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(4333): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(4333): error C2238: unexpected token(s) preceding ';' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(4390): error C2061: syntax error: identifier 'Address' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
  c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(4395): note: see reference to class template instantiation 'v8::FunctionCallbackInfo<T>' being compiled (compiling source file ..\src\robotjs.cc)
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(4392): error C2143: syntax error: missing ';' before '*' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(4392): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(4392): error C2238: unexpected token(s) preceding ';' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(4393): error C2143: syntax error: missing ';' before '*' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(4393): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(4393): error C2238: unexpected token(s) preceding ';' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(4505): error C2061: syntax error: identifier 'Address' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
  c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(4507): note: see reference to class template instantiation 'v8::PropertyCallbackInfo<T>' being compiled (compiling source file ..\src\robotjs.cc)
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(4506): error C2143: syntax error: missing ';' before '*' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(4506): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(4506): error C2238: unexpected token(s) preceding ';' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(5033): error C2039: 'BackingStoreBase': is not a member of 'v8::internal' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
  c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(126): note: see declaration of 'v8::internal' (compiling source file ..\src\robotjs.cc)
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(5033): error C2504: 'BackingStoreBase': base class undefined (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(5439): error C2039: 'kApiSystemPointerSize': is not a member of 'v8::internal' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
  c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(126): note: see declaration of 'v8::internal' (compiling source file ..\src\robotjs.cc)
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(5439): error C2065: 'kApiSystemPointerSize': undeclared identifier (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(5441): error C2039: 'kSmiMaxValue': is not a member of 'v8::internal' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
  c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(126): note: see declaration of 'v8::internal' (compiling source file ..\src\robotjs.cc)
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(5441): error C2065: 'kSmiMaxValue': undeclared identifier (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(8392): error C2039: 'Address': is not a member of 'v8::internal' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
  c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(126): note: see declaration of 'v8::internal' (compiling source file ..\src\robotjs.cc)
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(8392): error C3646: 'previous_stack_height_': unknown override specifier (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(8392): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9182): warning C4996: 'v8::MicrotasksCompletedCallback': Use *WithData version. (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
  c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(7384): note: see declaration of 'v8::MicrotasksCompletedCallback' (compiling source file ..\src\robotjs.cc)
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9190): warning C4996: 'v8::MicrotasksCompletedCallback': Use *WithData version. (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
  c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(7384): note: see declaration of 'v8::MicrotasksCompletedCallback' (compiling source file ..\src\robotjs.cc)
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9592): error C2039: 'Address': is not a member of 'v8::internal' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
  c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(126): note: see declaration of 'v8::internal' (compiling source file ..\src\robotjs.cc)
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9592): error C2143: syntax error: missing ';' before '*' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9592): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9592): error C2238: unexpected token(s) preceding ';' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9835): error C2039: 'Address': is not a member of 'v8::internal' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
  c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(126): note: see declaration of 'v8::internal' (compiling source file ..\src\robotjs.cc)
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9835): error C2143: syntax error: missing ';' before '*' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9835): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9836): error C2039: 'Address': is not a member of 'v8::internal' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
  c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(126): note: see declaration of 'v8::internal' (compiling source file ..\src\robotjs.cc)
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9836): error C2238: unexpected token(s) preceding ';' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9837): error C2039: 'Address': is not a member of 'v8::internal' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
  c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(126): note: see declaration of 'v8::internal' (compiling source file ..\src\robotjs.cc)
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9837): error C2143: syntax error: missing ';' before '*' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9837): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9838): error C2039: 'Address': is not a member of 'v8::internal' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
  c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(126): note: see declaration of 'v8::internal' (compiling source file ..\src\robotjs.cc)
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9839): error C2039: 'Address': is not a member of 'v8::internal' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
  c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(126): note: see declaration of 'v8::internal' (compiling source file ..\src\robotjs.cc)
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9840): error C2238: unexpected token(s) preceding ';' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9841): error C2039: 'Address': is not a member of 'v8::internal' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
  c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(126): note: see declaration of 'v8::internal' (compiling source file ..\src\robotjs.cc)
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9841): error C2061: syntax error: identifier 'Address' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9843): error C2039: 'Address': is not a member of 'v8::internal' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
  c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(126): note: see declaration of 'v8::internal' (compiling source file ..\src\robotjs.cc)
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9843): error C2061: syntax error: identifier 'Address' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9845): error C2039: 'Address': is not a member of 'v8::internal' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
  c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(126): note: see declaration of 'v8::internal' (compiling source file ..\src\robotjs.cc)
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9845): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9845): error C2143: syntax error: missing ',' before '*' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9847): error C2039: 'Address': is not a member of 'v8::internal' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
  c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(126): note: see declaration of 'v8::internal' (compiling source file ..\src\robotjs.cc)
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9847): error C2143: syntax error: missing ';' before '*' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9847): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9847): error C2238: unexpected token(s) preceding ';' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9848): error C2039: 'Address': is not a member of 'v8::internal' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
  c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(126): note: see declaration of 'v8::internal' (compiling source file ..\src\robotjs.cc)
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9848): error C2061: syntax error: identifier 'Address' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9849): error C2039: 'Address': is not a member of 'v8::internal' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
  c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(126): note: see declaration of 'v8::internal' (compiling source file ..\src\robotjs.cc)
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9849): error C2061: syntax error: identifier 'Address' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9850): error C2039: 'Address': is not a member of 'v8::internal' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
  c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(126): note: see declaration of 'v8::internal' (compiling source file ..\src\robotjs.cc)
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9850): error C2061: syntax error: identifier 'Address' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9853): error C2039: 'Address': is not a member of 'v8::internal' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
  c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(126): note: see declaration of 'v8::internal' (compiling source file ..\src\robotjs.cc)
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9853): error C2061: syntax error: identifier 'Address' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9853): error C2535: 'void v8::V8::MakeWeak(void)': member function already defined or declared (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
  c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9850): note: see declaration of 'v8::V8::MakeWeak' (compiling source file ..\src\robotjs.cc)
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9854): error C2039: 'Address': is not a member of 'v8::internal' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
  c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(126): note: see declaration of 'v8::internal' (compiling source file ..\src\robotjs.cc)
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9854): error C2061: syntax error: identifier 'Address' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9856): error C2039: 'Address': is not a member of 'v8::internal' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
  c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(126): note: see declaration of 'v8::internal' (compiling source file ..\src\robotjs.cc)
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9856): error C2061: syntax error: identifier 'Address' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9858): error C2039: 'Address': is not a member of 'v8::internal' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
  c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(126): note: see declaration of 'v8::internal' (compiling source file ..\src\robotjs.cc)
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9858): error C2061: syntax error: identifier 'Address' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9685): error C2039: 'PointerCompressionIsEnabled': is not a member of 'v8::internal' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
  c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(126): note: see declaration of 'v8::internal' (compiling source file ..\src\robotjs.cc)
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9685): error C3861: 'PointerCompressionIsEnabled': identifier not found (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9686): error C2039: 'SmiValuesAre31Bits': is not a member of 'v8::internal' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
  c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(126): note: see declaration of 'v8::internal' (compiling source file ..\src\robotjs.cc)
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9686): error C3861: 'SmiValuesAre31Bits': identifier not found (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9687): error C2039: 'HeapSandboxIsEnabled': is not a member of 'v8::internal' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
  c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(126): note: see declaration of 'v8::internal' (compiling source file ..\src\robotjs.cc)
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9687): error C3861: 'HeapSandboxIsEnabled': identifier not found (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9684): error C2789: 'kBuildConfiguration': an object of const-qualified type must be initialized (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
  c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9684): note: see declaration of 'kBuildConfiguration' (compiling source file ..\src\robotjs.cc)
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9991): error C2039: 'Address': is not a member of 'v8::internal' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
  c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(126): note: see declaration of 'v8::internal' (compiling source file ..\src\robotjs.cc)
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9991): error C2061: syntax error: identifier 'Address' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9992): error C2039: 'Address': is not a member of 'v8::internal' (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]
  c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(126): note: see declaration of 'v8::internal' (compiling source file ..\src\robotjs.cc)
c:\users\quint\.electron-gyp\11.2.3\include\node\v8.h(9992): fatal error C1003: error count exceeds 100; stopping compilation (compiling source file ..\src\robotjs.cc) [E:\dev\apps\nostlan\node_modules\robotjs\build\robotjs.vcxproj]

                errorOut=prebuild-install WARN install No prebuilt binaries found (target=11.2.3 runtime=electron arch=x64 libc= platform=win32)
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\MSBuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Users\quint\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:376:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
gyp ERR! System Windows_NT 10.0.19043
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\quint\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd E:\dev\apps\nostlan\node_modules\robotjs
gyp ERR! node -v v14.17.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! robotjs@0.6.0 install: `prebuild-install || node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the robotjs@0.6.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\quint\AppData\Roaming\npm-cache\_logs\2021-06-13T23_58_33_267Z-debug.log

                command=npm.cmd rebuild robotjs@0.6.0
                workingDir=
quinton-ashley commented 3 years ago

removed and reinstall robotjs and it worked