Open xfxpositions opened 2 years ago
I think the build is failing because you are missing some required package. The error log states that
Package gobject-introspection-1.0 was not found in the pkg-config search path.
Try to install the package using gobject-introspection
.
Alternatively, you could use node version 16 for which a prebuild version of node-gtk
should be available.
@romgrk: Should we try to build for node 17?
Yes! The problem has been solved but im using Arch Based Linux İs any way can i do it in windows laptop.
Building node-gtk
on Windows is still an open issue (#241). Actually, I do not expect it to be solved soon...
Initial Windows build is done in PR https://github.com/romgrk/node-gtk/pull/327
[4/4] Building fresh packages... [1/2] ⠂ esbuild error C:\Users\yusuf\node_modules\node-gtk: Command failed. Exit code: 1 Command: if [ "$(uname)" = "Darwin" ] && [ "$(which brew)" != "" ]; then export PKG_CONFIG_PATH=$(brew --prefix libffi)/lib/pkgconfig; fi; node-pre-gyp install --fallback-to-build Arguments: Directory: C:\Users\yusuf\node_modules\node-gtk Output: "$(uname)" was unexpected at this time. error on install by yarn
Please try again.
Update master
Run:
$ ./windows/mingw_include_extra.sh
# if MSYS2 is NOT installed in C:/msys64 run:
$ export MINGW_WINDOWS_PATH=$(./windows/mingw_windows_path.sh)
$ npx node-pre-gyp configure build --debug
See https://github.com/romgrk/node-gtk/blob/master/.github/workflows/main.yaml for detail
Hi i want to install node gtk by npm but some giving error