Open stefanJi opened 2 years ago
Those are old versions of Node, Electron and this library, and we can't provide support for that unfortunately. A lot of changes and fixes have been made to the installation process since then. I recommend upgrading to the latest version of this library, and more recent versions of Node and Electron.
Electron Version: 4.1.5 log:
• electron-builder version=21.2.0 • rebuilding native dependencies dependencies=@byted/macos-progress@0.0.5, @byted/rocket-electron-enhance@0.0.3, @byted/rocket-pc-screen-capture@1.3.19, @journeyapps/sqlcipher@4.0.0, ffi@2.3.0, ref@1.3.5 platform=darwin arch=x64 ⨯ cannot execute cause=exit status 1 out=
CXX(target) Release/obj.target/macos-progress/src/node_progress.o CXX(target) Release/obj.target/macos-progress/src/FileProgress.o CXX(target) Release/obj.target/macos-progress/src/Progress.o SOLINK_MODULE(target) Release/macos-progress.node
CC(target) Release/obj.target/nothing/../../node-addon-api/src/nothing.o LIBTOOL-STATIC Release/nothing.a CXX(target) Release/obj.target/electron-enhance/src/electron-enhance.o CXX(target) Release/obj.target/electron-enhance/src/clipboard/clipboard.o CXX(target) Release/obj.target/electron-enhance/src/clipboard/darwin.o SOLINK_MODULE(target) Release/electron-enhance.node
Not windows, skip build ...
ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlcipher-amalgamation-3028000/sqlite3.c TOUCH Release/obj.target/deps/action_before_build.stamp TOUCH Release/obj.target/deps/copy_dll.stamp CC(target) Release/obj.target/sqlite3/gen/sqlcipher-amalgamation-3028000/sqlite3.o LIBTOOL-STATIC Release/sqlite3.a CXX(target) Release/obj.target/node_sqlite3/src/backup.o Failed to execute '/Users/uu/Desktop/node-v10.15.3-darwin-x64/bin/node /Users/uu/Desktop/node-v10.15.3-darwin-x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/uu/Documents/uu_repo/rocket_pc/node_modules/@journeyapps/sqlcipher/lib/binding/electron-v4.1-darwin-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/Users/uu/Documents/uu_repo/rocket_pc/node_modules/@journeyapps/sqlcipher/lib/binding/electron-v4.1-darwin-x64 --napi_version=3 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=electron-v4.1' (1)
clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found] node-pre-gyp WARN Using request for node-pre-gyp https download node-pre-gyp WARN Tried to download(404): https://journeyapps-node-binary.s3.amazonaws.com/@journeyapps/sqlcipher/v4.0.0/electron-v4.1-darwin-x64.tar.gz node-pre-gyp WARN Pre-built binaries not found for @journeyapps/sqlcipher@4.0.0 and electron@4.1.5 (electron-v4.1 ABI, unknown) (falling back to source compile with node-gyp) Release/obj/gen/sqlcipher-amalgamation-3028000/sqlite3.c:23144:7: warning: unused variable 'i' [-Wunused-variable] int i, rc = 0; ^ Release/obj/gen/sqlcipher-amalgamation-3028000/sqlite3.c:78009:33: warning: comparison of integers of different signs: 'u32' (aka 'unsigned int') and 'const int' [-Wsign-compare] if( rc==SQLITE_OK && newPgsz!=nSrcPgsz ) rc = SQLITE_READONLY;
npm ERR! A complete log of this run can be found in: npm ERR! /Users/uu/.npm/_logs/2022-03-10T12_37_01_242Z-debug.log