-
Notifications
You must be signed in to change notification settings - Fork 42
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
Installation not possible #347
Comments
Same here, not able to fallback and build with "npm i node-gtk". My machine info: Debian GNU/Linux 12 (bookworm) x86_64, GNOME 43.4. I installed all recommended dependencies per the README.md... npm ERR! node-pre-gyp http GET https://node-gtk-1.s3.amazonaws.com/node_gtk/v0.11.0/node_gtk-node-v108-linux-x64.tar.gz
npm ERR! node-pre-gyp ERR! install response status 403 Forbidden on https://node-gtk-1.s3.amazonaws.com/node_gtk/v0.11.0/node_gtk-node-v108-linux-x64.tar.gz Update: I just tried the same install command on another Debian x86_64 machine, and built successfully. The two machines I tried on are on the same network, with very similarly installed packages, and I tried building in an identical directory. I compared systemd11's errors with mine and the amazonaws error still seems like it might be related. |
Can you confirm the version numbers? (nodejs in particular) |
Both of my machines have Nodejs v18.13.0 (official Debian nodejs apt package) installed |
I've published v0.12.0 just now, with prebuilt binaries for linux & node 16, 18 only. The macOS binaries have failed, GHA isn't super reliable on macOS. I can try re-running them in a few days, maybe the casks will be fixed. |
Re-running "npm i node-gtk@latest" (Your new v0.12.0 release) on my machine that failed previously, works now. Thank you! |
I have same problem. The interesting line in error is
When I load the url I really get AccesDenied |
Please always post you full versions (OS + nodejs + node-gtk) when you report something like this. It's likely that we don't generate a prebuilt binary for your versions. |
In this case, we don't generate a binary for you CPU architecture, we only have x86_64. Not sure if GHA does ARM now. In any case, it should fallback to build from source. Is that also failing? |
It just failed with that message, so guess the build step didn't work. |
Does it work manually? Run |
Closing, stale. Open a new issue with versions & logs if you have a problem to report. |
am trying to install node-gtk on my Nobara (Fedora 37 Base) machine. I followed the below steps to install the necessary dependencies:
Installed gtk3-devel, nodejs, npm, gcc-c++, make, glib2-devel, cairo-devel, pango-devel, libjpeg-turbo-devel, giflib-devel, librsvg2-devel, libtiff-devel, libpng-devel, and libwebp-devel using the command sudo dnf install -y gtk3-devel nodejs npm gcc-c++ make glib2-devel cairo-devel pango-devel libjpeg-turbo-devel giflib-devel librsvg2-devel libtiff-devel libpng-devel libwebp-devel.
Installed node-gyp globally using the command sudo npm install -g node-gyp.
Tried installing node-gtk globally using the command sudo npm install -g node-gtk. However, I encountered errors during the installation process.
I have attached two text files error1.txt and error2.txt that show the errors I encountered when I tried installing node-gtk. I ran the following command:
npm install node-gtk (errors.txt)
npm install --save node-gtk (errors.txt (In section 2)
errors.txt
errors.txt
) (I tried without the --save argument as well)
Additionally, I ran the command node-gyp rebuild after installing node-gyp but before installing node-gtk.
Could you please help me with resolving these Issues?
The text was updated successfully, but these errors were encountered: