-
Notifications
You must be signed in to change notification settings - Fork 66
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-rebuild fails with v5 #55
Comments
@deepak342 any luck? I am also facing the same issue. |
@gaurav-vachhani No luck. reverted to using [email protected] and [email protected] |
same for me... it's working on MAC but on on Windows.. |
Is there a solution? |
The error is due to older version of visual studio. You need vs2017. Do npm i -g windows-build-tools to fix it. |
@deepak342 can you update readme? as it's outdated... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
\ Building module: sqlcipher, Completed: 0Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
| Building module: sqlcipher, Completed: 0 win_delay_load_hook.cc
| Building module: sqlcipher, Completed: 0 nothing.vcxproj -> D:\dev\test-app\src\node_modules@journeyapps\sqlcipher\build\Release\nothing.lib
/ Building module: sqlcipher, Completed: 0 unpack_sqlite_dep
.dll to D:\dev\test-app\src\node_modules@journeyapps\sqlcipher\build\Release
1 file(s) copied.
Copying D:\dev\test-app\src\node_modules@journeyapps\sqlcipher\build\Release/obj/global_intermediate/sqlcipher-amalgamation-3031000/OpenSSL-Win64/libeay32
.dll to D:\dev\test-app\src\node_modules@journeyapps\sqlcipher\build\Release
1 file(s) copied.
\ Building module: sqlcipher, Completed: 0 sqlite3.c
| Building module: sqlcipher, Completed: 0 backup.cc
\ Building module: sqlcipher, Completed: 0D:\dev\test-app\src\node_modules\node-addon-api\napi-inl.h(752): error C3861: 'napi_create_bigint_int64': identifier not found [D:\dev\test-app\src\n
ode_modules@journeyapps\sqlcipher\build\node_sqlite3.vcxproj]
D:\dev\test-app\src\node_modules\node-addon-api\napi-inl.h(759): error C3861: 'napi_create_bigint_uint64': identifier not found [D:\dev\test-app\src
node_modules@journeyapps\sqlcipher\build\node_sqlite3.vcxproj]
D:\dev\test-app\src\node_modules\node-addon-api\napi-inl.h(766): error C3861: 'napi_create_bigint_words': identifier not found [D:\dev\test-app\src\n
ode_modules@journeyapps\sqlcipher\build\node_sqlite3.vcxproj]
D:\dev\test-app\src\node_modules\node-addon-api\napi-inl.h(779): error C3861: 'napi_get_value_bigint_int64': identifier not found [D:\dev\test-app\sr
c\node_modules@journeyapps\sqlcipher\build\node_sqlite3.vcxproj]
D:\dev\test-app\src\node_modules\node-addon-api\napi-inl.h(787): error C3861: 'napi_get_value_bigint_uint64': identifier not found [D:\dev\test-app\s
rc\node_modules@journeyapps\sqlcipher\build\node_sqlite3.vcxproj]
D:\dev\test-app\src\node_modules\node-addon-api\napi-inl.h(795): error C3861: 'napi_get_value_bigint_words': identifier not found [D:\dev\test-app\sr
c\node_modules@journeyapps\sqlcipher\build\node_sqlite3.vcxproj]
D:\dev\test-app\src\node_modules\node-addon-api\napi-inl.h(802): error C3861: 'napi_get_value_bigint_words': identifier not found [D:\dev\test-app\sr
c\node_modules@journeyapps\sqlcipher\build\node_sqlite3.vcxproj]
× Rebuild Failed
An unhandled error occurred inside electron-rebuild
node-gyp failed to rebuild 'D:\dev\test-app\src\node_modules@journeyapps\sqlcipher'.
Error:
C:\Program Files (x86)\MSBuild\14.0\bin\MSBuild.exe
failed with exit code: 1Error: node-gyp failed to rebuild 'D:\dev\test-app\src\node_modules@journeyapps\sqlcipher'.
Error:
C:\Program Files (x86)\MSBuild\14.0\bin\MSBuild.exe
failed with exit code: 1at ModuleRebuilder.rebuildNodeGypModule (D:\dev\test-app\node_modules\electron-rebuild\lib\src\module-rebuilder.js:193:19)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
npm ERR! code ELIFECYCLE
npm ERR! errno 4294967295
npm ERR! [email protected] postinstall:
npx webdriver-manager update --versions.chrome 83.0.4103.39 && npx bower i -p --allow-root && cd src && npm i --production && cd .. && npx electron-rebuild -m src && node task/post-install.js && npm run gen
npm ERR! Exit status 4294967295
npm ERR!
npm ERR! Failed at the [email protected] postinstall 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\admin\AppData\Roaming\npm-cache_logs\2020-10-19T14_21_13_593Z-debug.log
node -v => v12.17.0
npx electron -v =>v10.1.3
The text was updated successfully, but these errors were encountered: