Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Electron 32.0 support #204

Open
nosferatu500 opened this issue Aug 28, 2024 · 1 comment
Open

Electron 32.0 support #204

nosferatu500 opened this issue Aug 28, 2024 · 1 comment

Comments

@nosferatu500
Copy link

Hi! When I'm trying to build my app with Electron 32.0 and daff 1.3.48 I'm getting the next error:

> [email protected] postinstall
> electron-builder install-app-deps

  • electron-builder  version=24.13.3
  • loaded configuration  file=package.json ("build" field)
  • rebuilding native dependencies  [email protected] platform=win32 arch=x64
  ⨯ cannot execute  cause=exit status 1
                    errorOut=npm error code 1
    npm error path D:\a\my_app\my_app\node_modules\sqlite3
    npm error command failed
    npm error command C:\Windows\system32\cmd.exe /d /s /c node-pre-gyp install --fallback-to-build
    npm error unpack_sqlite_dep
    npm error   sqlite3.c
    npm error   win_delay_load_hook.cc
    npm error   sqlite3.vcxproj -> D:\a\my_app\my_app\node_modules\sqlite3\build\Release\\sqlite3.lib
    npm error   backup.cc
    npm error C:\Users\runneradmin\.electron-gyp\32.0.0\include\node\v8config.h(13,1): error C1189: #error:  "C++20 or later required." [D:\a\my_app\my_app\node_modules\sqlite3\build\node_sqlite3.vcxproj]

I have no any issues with Electron 31.4

@ZouJiu1
Copy link

ZouJiu1 commented Dec 17, 2024

the reason is the version of node is too high, you should downgrade the version to v20

brew install node@20

v22 is too higher

https://zoujiu.com.cn

https://nodejs.org/zh-cn/download/package-manager

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@nosferatu500 @ZouJiu1 and others