-
Notifications
You must be signed in to change notification settings - Fork 69
Description
Build for Electron 39.2.4 ends with an error
Windows 11
Node: 22.21.1
winax: 3.6.1
`Building the projects in this solution one at a time. To enable parallel build, please add the "-m" switch.
main.cpp
E:\Progect\Electron\AppProject\src\node_modules\winax\src\main.cpp(14,31): error C2039: 'GetIsolate': is not a member of 'v8::Context' [E:\Progect\Electron\AppProject\src\node_modules\winax\build\node_activex.vcxproj]
C:\Users\Zcool.electron-gyp\39.2.4\include\node\v8-regexp.h(14): message : see declaration of 'v8::Context' [E:\Progect\Electron\AppProject\src\node_modules\winax\build\node_activex.vcxproj]
Error: C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\MSBuild.exe failed with exit code: 1
at ChildProcess.<anonymous> (E:\Progect\Electron\AppProject\src\node_modules\node-gyp\lib\build.js:219:23)
at ChildProcess.emit (node:events:519:28)
at ChildProcess._handle.onexit (node:internal/child_process:293:12)
× Rebuild Failed
An unhandled error occurred inside electron-rebuild
node-gyp failed to rebuild 'E:\Progect\Electron\AppProject\src\node_modules\winax'
Error: node-gyp failed to rebuild 'E:\Progect\Electron\AppProject\src\node_modules\winax'
at ChildProcess.<anonymous> (file:///E:/Progect/Electron/AppProject/src/node_modules/@electron/rebuild/lib/module-type/node-gyp/node-gyp.js:114:24)
at ChildProcess.emit (node:events:519:28)
at ChildProcess._handle.onexit (node:internal/child_process:293:12)`
Melting for assembly, but I have no way to check
`E:\Progect\Electron\AppProject\src\node_modules\winax\src\main.cpp
Isolate* isolate = context->GetIsolate();
change to
Isolate* isolate = v8::Isolate::GetCurrent();`