parallels@ubuntu-linux-20-04-desktop:~/Documents/react-gtk/examples/elements$ uname -a
Linux ubuntu-linux-20-04-desktop 5.4.0-91-generic #102-Ubuntu SMP Fri Nov 5 16:30:45 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
parallels@ubuntu-linux-20-04-desktop:~/Documents/react-gtk/examples/elements$ npm install
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated cross-spawn-async@2.2.5: cross-spawn no longer requires a build toolchain, use it instead
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated babel-eslint@9.0.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated node-pre-gyp@0.13.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
npm WARN deprecated core-js@2.6.12: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
npm ERR! code 1
npm ERR! path /home/parallels/Documents/react-gtk/examples/elements/node_modules/node-gtk
npm ERR! command failed
npm ERR! command sh -c if [ "$(uname)" = "Darwin" ] && [ "$(which brew)" != "" ]; then export PKG_CONFIG_PATH=$(brew --prefix libffi)/lib/pkgconfig; fi; node-pre-gyp install --fallback-to-build
npm ERR! make: Entering directory '/home/parallels/Documents/react-gtk/examples/elements/node_modules/node-gtk/build'
npm ERR! CXX(target) Release/obj.target/node_gtk/src/boxed.o
npm ERR! CXX(target) Release/obj.target/node_gtk/src/callback.o
npm ERR! CXX(target) Release/obj.target/node_gtk/src/closure.o
npm ERR! CXX(target) Release/obj.target/node_gtk/src/debug.o
npm ERR! CXX(target) Release/obj.target/node_gtk/src/error.o
npm ERR! CXX(target) Release/obj.target/node_gtk/src/function.o
npm ERR! CXX(target) Release/obj.target/node_gtk/src/gi.o
npm ERR! CXX(target) Release/obj.target/node_gtk/src/gobject.o
npm ERR! CXX(target) Release/obj.target/node_gtk/src/loop.o
npm ERR! make: Leaving directory '/home/parallels/Documents/react-gtk/examples/elements/node_modules/node-gtk/build'
npm ERR! Failed to execute '/home/parallels/.nvm/versions/node/v16.13.0/bin/node /home/parallels/.nvm/versions/node/v16.13.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/parallels/Documents/react-gtk/examples/elements/node_modules/node-gtk/lib/binding/node-v93-linux-arm64/node_gtk.node --module_name=node_gtk --module_path=/home/parallels/Documents/react-gtk/examples/elements/node_modules/node-gtk/lib/binding/node-v93-linux-arm64 --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v93' (1)
npm ERR! node-pre-gyp info it worked if it ends with ok
npm ERR! node-pre-gyp info using node-pre-gyp@0.13.0
npm ERR! node-pre-gyp info using node@16.13.0 | linux | arm64
npm ERR! node-pre-gyp WARN Using request for node-pre-gyp https download
npm ERR! node-pre-gyp info check checked for "/home/parallels/Documents/react-gtk/examples/elements/node_modules/node-gtk/lib/binding/node-v93-linux-arm64/node_gtk.node" (not found)
npm ERR! node-pre-gyp http GET https://node-gtk-1.s3.amazonaws.com/node_gtk/v0.4.0/node_gtk-node-v93-linux-arm64.tar.gz
npm ERR! node-pre-gyp http 403 https://node-gtk-1.s3.amazonaws.com/node_gtk/v0.4.0/node_gtk-node-v93-linux-arm64.tar.gz
npm ERR! node-pre-gyp WARN Tried to download(403): https://node-gtk-1.s3.amazonaws.com/node_gtk/v0.4.0/node_gtk-node-v93-linux-arm64.tar.gz
npm ERR! node-pre-gyp WARN Pre-built binaries not found for node-gtk@0.4.0 and node@16.13.0 (node-v93 ABI, glibc) (falling back to source compile with node-gyp)
npm ERR! node-pre-gyp http 403 status code downloading tarball https://node-gtk-1.s3.amazonaws.com/node_gtk/v0.4.0/node_gtk-node-v93-linux-arm64.tar.gz
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@8.2.0
npm ERR! gyp info using node@16.13.0 | linux | arm64
npm ERR! gyp info ok
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@8.2.0
npm ERR! gyp info using node@16.13.0 | linux | arm64
npm ERR! gyp info find Python using Python version 3.8.10 found at "/usr/bin/python3"
npm ERR! gyp info spawn /usr/bin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args '/home/parallels/.nvm/versions/node/v16.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args 'binding.gyp',
npm ERR! gyp info spawn args '-f',
npm ERR! gyp info spawn args 'make',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/home/parallels/Documents/react-gtk/examples/elements/node_modules/node-gtk/build/config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/home/parallels/.nvm/versions/node/v16.13.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/home/parallels/snap/codium/common/.cache/node-gyp/16.13.0/include/node/common.gypi',
npm ERR! gyp info spawn args '-Dlibrary=shared_library',
npm ERR! gyp info spawn args '-Dvisibility=default',
npm ERR! gyp info spawn args '-Dnode_root_dir=/home/parallels/snap/codium/common/.cache/node-gyp/16.13.0',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=/home/parallels/.nvm/versions/node/v16.13.0/lib/node_modules/npm/node_modules/node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=/home/parallels/snap/codium/common/.cache/node-gyp/16.13.0/<(target_arch)/node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=/home/parallels/Documents/react-gtk/examples/elements/node_modules/node-gtk',
npm ERR! gyp info spawn args '-Dnode_engine=v8',
npm ERR! gyp info spawn args '--depth=.',
npm ERR! gyp info spawn args '--no-parallel',
npm ERR! gyp info spawn args '--generator-output',
npm ERR! gyp info spawn args 'build',
npm ERR! gyp info spawn args '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info ok
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@8.2.0
npm ERR! gyp info using node@16.13.0 | linux | arm64
npm ERR! gyp info spawn make
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! In file included from ../src/boxed.h:4,
npm ERR! from ../src/boxed.cc:5:
npm ERR! ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
npm ERR! ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
npm ERR! 2298 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
npm ERR! | ^
npm ERR! In file included from ../../nan/nan.h:2784,
npm ERR! from ../src/boxed.h:4,
npm ERR! from ../src/boxed.cc:5:
npm ERR! ../../nan/nan_weak.h: In instantiation of ‘Nan::WeakCallbackInfo<P>::WeakCallbackInfo(Nan::Persistent<v8::Value>*, Nan::WeakCallbackInfo<P>::Callback, void*, void*, void*) [with T = GNodeJS::Boxed; Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<GNodeJS::Boxed>&)]’:
npm ERR! ../../nan/nan_weak.h:264:12: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = GNodeJS::Boxed; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<GNodeJS::Boxed>&); Nan::WeakCallbackType = v8::WeakCallbackType]’
npm ERR! ../src/boxed.cc:244:84: required from here
npm ERR! ../../nan/nan_weak.h:58:16: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class v8::Persistent<v8::Value>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
npm ERR! 58 | std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
npm ERR! | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! In file included from /home/parallels/snap/codium/common/.cache/node-gyp/16.13.0/include/node/node.h:63,
npm ERR! from ../../nan/nan.h:54,
npm ERR! from ../src/boxed.h:4,
npm ERR! from ../src/boxed.cc:5:
npm ERR! /home/parallels/snap/codium/common/.cache/node-gyp/16.13.0/include/node/v8.h:668:35: note: ‘class v8::Persistent<v8::Value>’ declared here
npm ERR! 668 | template <class T, class M> class Persistent : public PersistentBase<T> {
npm ERR! | ^~~~~~~~~~
npm ERR! In file included from ../src/callback.cc:2:
npm ERR! ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
npm ERR! ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
npm ERR! 2298 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
npm ERR! | ^
npm ERR! In file included from ../src/closure.cc:2:
npm ERR! ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
npm ERR! ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
npm ERR! 2298 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
npm ERR! | ^
npm ERR! ../src/closure.cc: In static member function ‘static void GNodeJS::Closure::Marshal(GClosure*, GValue*, uint, const GValue*, gpointer, gpointer)’:
npm ERR! ../src/closure.cc:41:38: warning: missing initializer for member ‘_GSignalQuery::signal_name’ [-Wmissing-field-initializers]
npm ERR! 41 | GSignalQuery signal_query = { 0, };
npm ERR! | ^
npm ERR! ../src/closure.cc:41:38: warning: missing initializer for member ‘_GSignalQuery::itype’ [-Wmissing-field-initializers]
npm ERR! ../src/closure.cc:41:38: warning: missing initializer for member ‘_GSignalQuery::signal_flags’ [-Wmissing-field-initializers]
npm ERR! ../src/closure.cc:41:38: warning: missing initializer for member ‘_GSignalQuery::return_type’ [-Wmissing-field-initializers]
npm ERR! ../src/closure.cc:41:38: warning: missing initializer for member ‘_GSignalQuery::n_params’ [-Wmissing-field-initializers]
npm ERR! ../src/closure.cc:41:38: warning: missing initializer for member ‘_GSignalQuery::param_types’ [-Wmissing-field-initializers]
npm ERR! In file included from ../src/value.h:5,
npm ERR! from ../src/debug.cc:7:
npm ERR! ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
npm ERR! ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
npm ERR! 2298 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
npm ERR! | ^
npm ERR! In file included from ../src/type.h:11,
npm ERR! from ../src/error.cc:3:
npm ERR! ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
npm ERR! ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
npm ERR! 2298 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
npm ERR! | ^
npm ERR! In file included from ../src/boxed.h:4,
npm ERR! from ../src/function.cc:5:
npm ERR! ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
npm ERR! ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
npm ERR! 2298 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
npm ERR! | ^
npm ERR! In file included from ../src/gi.cc:3:
npm ERR! ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
npm ERR! ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
npm ERR! 2298 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
npm ERR! | ^
npm ERR! In file included from ../src/boxed.h:4,
npm ERR! from ../src/gobject.cc:4:
npm ERR! ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
npm ERR! ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
npm ERR! 2298 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
npm ERR! | ^
npm ERR! ../src/gobject.cc: At global scope:
npm ERR! ../src/gobject.cc:222:13: warning: ‘bool GNodeJS::HasReturnValue(GICallableInfo*, GITypeInfo*)’ defined but not used [-Wunused-function]
npm ERR! 222 | static bool HasReturnValue(GICallableInfo *signalInfo, GITypeInfo *returnInfo) {
npm ERR! | ^~~~~~~~~~~~~~
npm ERR! In file included from ../src/loop.cc:3:
npm ERR! ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
npm ERR! ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
npm ERR! 2298 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
npm ERR! | ^
npm ERR! ../src/loop.cc: In function ‘void GNodeJS::CallMicrotaskHandlers()’:
npm ERR! ../src/loop.cc:111:28: error: ‘class v8::Isolate’ has no member named ‘RunMicrotasks’
npm ERR! 111 | Isolate::GetCurrent()->RunMicrotasks();
npm ERR! | ^~~~~~~~~~~~~
npm ERR! make: *** [node_gtk.target.mk:142: Release/obj.target/node_gtk/src/loop.o] Error 1
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
npm ERR! gyp ERR! stack at ChildProcess.onExit (/home/parallels/.nvm/versions/node/v16.13.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:390:28)
npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
npm ERR! gyp ERR! System Linux 5.4.0-91-generic
npm ERR! gyp ERR! command "/home/parallels/.nvm/versions/node/v16.13.0/bin/node" "/home/parallels/.nvm/versions/node/v16.13.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/parallels/Documents/react-gtk/examples/elements/node_modules/node-gtk/lib/binding/node-v93-linux-arm64/node_gtk.node" "--module_name=node_gtk" "--module_path=/home/parallels/Documents/react-gtk/examples/elements/node_modules/node-gtk/lib/binding/node-v93-linux-arm64" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v93"
npm ERR! gyp ERR! cwd /home/parallels/Documents/react-gtk/examples/elements/node_modules/node-gtk
npm ERR! gyp ERR! node -v v16.13.0
npm ERR! gyp ERR! node-gyp -v v8.2.0
npm ERR! gyp ERR! not ok
npm ERR! node-pre-gyp ERR! build error
npm ERR! node-pre-gyp ERR! stack Error: Failed to execute '/home/parallels/.nvm/versions/node/v16.13.0/bin/node /home/parallels/.nvm/versions/node/v16.13.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/parallels/Documents/react-gtk/examples/elements/node_modules/node-gtk/lib/binding/node-v93-linux-arm64/node_gtk.node --module_name=node_gtk --module_path=/home/parallels/Documents/react-gtk/examples/elements/node_modules/node-gtk/lib/binding/node-v93-linux-arm64 --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v93' (1)
npm ERR! node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/home/parallels/Documents/react-gtk/examples/elements/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
npm ERR! node-pre-gyp ERR! stack at ChildProcess.emit (node:events:390:28)
npm ERR! node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1064:16)
npm ERR! node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
npm ERR! node-pre-gyp ERR! System Linux 5.4.0-91-generic
npm ERR! node-pre-gyp ERR! command "/home/parallels/.nvm/versions/node/v16.13.0/bin/node" "/home/parallels/Documents/react-gtk/examples/elements/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
npm ERR! node-pre-gyp ERR! cwd /home/parallels/Documents/react-gtk/examples/elements/node_modules/node-gtk
npm ERR! node-pre-gyp ERR! node -v v16.13.0
npm ERR! node-pre-gyp ERR! node-pre-gyp -v v0.13.0
npm ERR! node-pre-gyp ERR! not ok
npm ERR! A complete log of this run can be found in:
npm ERR! /home/parallels/.npm/_logs/2021-12-03T22_26_53_774Z-debug.log
parallels@ubuntu-linux-20-04-desktop:~/Documents/react-gtk/examples/elements$
Same issue on fedora.
[parallels@fedora elements]$ npm install
npm WARN deprecated cross-spawn-async@2.2.5: cross-spawn no longer requires a build toolchain, use it instead
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated node-pre-gyp@0.13.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
npm WARN deprecated babel-eslint@9.0.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
npm WARN deprecated core-js@2.6.12: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
npm notice
npm notice New minor version of npm available! 8.1.2 -> 8.3.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v8.3.0
npm notice Run npm install -g npm@8.3.0 to update!
npm notice
npm ERR! code 1
npm ERR! path /home/parallels/Documents/react-gtk/examples/elements/node_modules/node-gtk
npm ERR! command failed
npm ERR! command sh -c if [ "$(uname)" = "Darwin" ] && [ "$(which brew)" != "" ]; then export PKG_CONFIG_PATH=$(brew --prefix libffi)/lib/pkgconfig; fi; node-pre-gyp install --fallback-to-build
npm ERR! Failed to execute '/home/parallels/.nvm/versions/node/v16.13.1/bin/node /home/parallels/.nvm/versions/node/v16.13.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/home/parallels/Documents/react-gtk/examples/elements/node_modules/node-gtk/lib/binding/node-v93-linux-arm64/node_gtk.node --module_name=node_gtk --module_path=/home/parallels/Documents/react-gtk/examples/elements/node_modules/node-gtk/lib/binding/node-v93-linux-arm64 --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v93' (1)
npm ERR! node-pre-gyp info it worked if it ends with ok
npm ERR! node-pre-gyp info using node-pre-gyp@0.13.0
npm ERR! node-pre-gyp info using node@16.13.1 | linux | arm64
npm ERR! node-pre-gyp WARN Using request for node-pre-gyp https download
npm ERR! node-pre-gyp info check checked for "/home/parallels/Documents/react-gtk/examples/elements/node_modules/node-gtk/lib/binding/node-v93-linux-arm64/node_gtk.node" (not found)
npm ERR! node-pre-gyp http GET https://node-gtk-1.s3.amazonaws.com/node_gtk/v0.4.0/node_gtk-node-v93-linux-arm64.tar.gz
npm ERR! node-pre-gyp http 403 https://node-gtk-1.s3.amazonaws.com/node_gtk/v0.4.0/node_gtk-node-v93-linux-arm64.tar.gz
npm ERR! node-pre-gyp WARN Tried to download(403): https://node-gtk-1.s3.amazonaws.com/node_gtk/v0.4.0/node_gtk-node-v93-linux-arm64.tar.gz
npm ERR! node-pre-gyp WARN Pre-built binaries not found for node-gtk@0.4.0 and node@16.13.1 (node-v93 ABI, glibc) (falling back to source compile with node-gyp)
npm ERR! node-pre-gyp http 403 status code downloading tarball https://node-gtk-1.s3.amazonaws.com/node_gtk/v0.4.0/node_gtk-node-v93-linux-arm64.tar.gz
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@8.3.0
npm ERR! gyp info using node@16.13.1 | linux | arm64
npm ERR! gyp info ok
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@8.3.0
npm ERR! gyp info using node@16.13.1 | linux | arm64
npm ERR! gyp info find Python using Python version 3.9.9 found at "/usr/bin/python3"
npm ERR! gyp http GET https://nodejs.org/download/release/v16.13.1/node-v16.13.1-headers.tar.gz
npm ERR! gyp http 200 https://nodejs.org/download/release/v16.13.1/node-v16.13.1-headers.tar.gz
npm ERR! gyp http GET https://nodejs.org/download/release/v16.13.1/SHASUMS256.txt
npm ERR! gyp http 200 https://nodejs.org/download/release/v16.13.1/SHASUMS256.txt
npm ERR! gyp info spawn /usr/bin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args '/home/parallels/.nvm/versions/node/v16.13.1/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args 'binding.gyp',
npm ERR! gyp info spawn args '-f',
npm ERR! gyp info spawn args 'make',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/home/parallels/Documents/react-gtk/examples/elements/node_modules/node-gtk/build/config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/home/parallels/.nvm/versions/node/v16.13.1/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/home/parallels/.cache/node-gyp/16.13.1/include/node/common.gypi',
npm ERR! gyp info spawn args '-Dlibrary=shared_library',
npm ERR! gyp info spawn args '-Dvisibility=default',
npm ERR! gyp info spawn args '-Dnode_root_dir=/home/parallels/.cache/node-gyp/16.13.1',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=/home/parallels/.nvm/versions/node/v16.13.1/lib/node_modules/npm/node_modules/node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=/home/parallels/.cache/node-gyp/16.13.1/<(target_arch)/node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=/home/parallels/Documents/react-gtk/examples/elements/node_modules/node-gtk',
npm ERR! gyp info spawn args '-Dnode_engine=v8',
npm ERR! gyp info spawn args '--depth=.',
npm ERR! gyp info spawn args '--no-parallel',
npm ERR! gyp info spawn args '--generator-output',
npm ERR! gyp info spawn args 'build',
npm ERR! gyp info spawn args '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! Package gobject-introspection-1.0 was not found in the pkg-config search path.
npm ERR! Perhaps you should add the directory containing `gobject-introspection-1.0.pc'
npm ERR! to the PKG_CONFIG_PATH environment variable
npm ERR! Package 'gobject-introspection-1.0', required by 'virtual:world', not found
npm ERR! gyp: Call to 'pkg-config --cflags gobject-introspection-1.0 cairo' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: `gyp` failed with exit code: 1
npm ERR! gyp ERR! stack at ChildProcess.onCpExit (/home/parallels/.nvm/versions/node/v16.13.1/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:261:16)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:390:28)
npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
npm ERR! gyp ERR! System Linux 5.11.12-300.fc34.aarch64
npm ERR! gyp ERR! command "/home/parallels/.nvm/versions/node/v16.13.1/bin/node" "/home/parallels/.nvm/versions/node/v16.13.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/home/parallels/Documents/react-gtk/examples/elements/node_modules/node-gtk/lib/binding/node-v93-linux-arm64/node_gtk.node" "--module_name=node_gtk" "--module_path=/home/parallels/Documents/react-gtk/examples/elements/node_modules/node-gtk/lib/binding/node-v93-linux-arm64" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v93"
npm ERR! gyp ERR! cwd /home/parallels/Documents/react-gtk/examples/elements/node_modules/node-gtk
npm ERR! gyp ERR! node -v v16.13.1
npm ERR! gyp ERR! node-gyp -v v8.3.0
npm ERR! gyp ERR! not ok
npm ERR! node-pre-gyp ERR! build error
npm ERR! node-pre-gyp ERR! stack Error: Failed to execute '/home/parallels/.nvm/versions/node/v16.13.1/bin/node /home/parallels/.nvm/versions/node/v16.13.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/home/parallels/Documents/react-gtk/examples/elements/node_modules/node-gtk/lib/binding/node-v93-linux-arm64/node_gtk.node --module_name=node_gtk --module_path=/home/parallels/Documents/react-gtk/examples/elements/node_modules/node-gtk/lib/binding/node-v93-linux-arm64 --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v93' (1)
npm ERR! node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/home/parallels/Documents/react-gtk/examples/elements/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
npm ERR! node-pre-gyp ERR! stack at ChildProcess.emit (node:events:390:28)
npm ERR! node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1064:16)
npm ERR! node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
npm ERR! node-pre-gyp ERR! System Linux 5.11.12-300.fc34.aarch64
npm ERR! node-pre-gyp ERR! command "/home/parallels/.nvm/versions/node/v16.13.1/bin/node" "/home/parallels/Documents/react-gtk/examples/elements/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
npm ERR! node-pre-gyp ERR! cwd /home/parallels/Documents/react-gtk/examples/elements/node_modules/node-gtk
npm ERR! node-pre-gyp ERR! node -v v16.13.1
npm ERR! node-pre-gyp ERR! node-pre-gyp -v v0.13.0
npm ERR! node-pre-gyp ERR! not ok
npm ERR! A complete log of this run can be found in:
npm ERR! /home/parallels/.npm/_logs/2021-12-16T20_44_29_517Z-debug.log
[parallels@fedora elements]$ uname -a
Linux fedora 5.11.12-300.fc34.aarch64 #1 SMP Wed Apr 7 16:12:21 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
[parallels@fedora elements]$
Same issue on fedora.