Skip to content
This repository was archived by the owner on Dec 3, 2024. It is now read-only.
This repository was archived by the owner on Dec 3, 2024. It is now read-only.

electron 30+ rebuild fails #9

Description

@Galkon

Anyone had any luck getting this working with electron 30+? Works with 29.

[error] Command failed: .\node_modules\.bin\electron-rebuild.cmd
- Searching dependency tree

Preprocessing assembly file ..\..\..\deps\libffi\src\x86\win64_intel.preasm
win64_intel.preasm
Building assembly file Release\obj\ffi\\win64_intel.asm
Assembling: Release\obj\ffi\win64_intel.asm
prep_cif.c
types.c
raw_api.c
java_raw_api.c
closures.c
ffiw64.c
win_delay_load_hook.cc
ffi.vcxproj -> C:\Builds\.tmp\electron\c519905b\node_modules\@lwahonen\ffi-napi\build\Release\\libffi.lib
nothing.c
win_delay_load_hook.cc
nothing.vcxproj -> C:\Builds\.tmp\electron\c519905b\node_modules\@lwahonen\ffi-napi\build\Release\\nothing.lib
ffi.cc
C:\Builds\.tmp\electron\c519905b\node_modules\get-uv-event-loop-napi-h\include\get-uv-event-loop-napi.h(26,30): error C2440: '=': cannot convert from 'napi_status (__cdecl *)(node_api_nogc_env,uv_loop_s **)' to 'get_uv_event_loop_fn' [C:\Builds\.tmp\electron\c519905b\node_modules\@lwahonen\ffi-napi\build\ffi_bindings.vcxproj]
Error: `C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe` failed with exit code: 1
at ChildProcess.onExit (C:\Builds\.tmp\electron\c519905b\node_modules\node-gyp\lib\build.js:203:23)
at ChildProcess.emit (node:events:514:28)
at ChildProcess._handle.onexit (node:internal/child_process:291:12)

× Rebuild Failed

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