react-gtk icon indicating copy to clipboard operation
react-gtk copied to clipboard

Can't run properly the example

Open mrZero88 opened this issue 4 years ago • 3 comments

Hello everyone,

Thank you very much for this project. It sounds great to be able to develop a desktop app from react like components.

I'm currently unable to run the examples successfully. What is happening is that the window opens, displays nothing, and the program doesn't respond. I'm on macOS Big Sur. I get the following warnings, hope they have nothing to do with it.

The "loose" option must be the same for @babel/plugin-proposal-class-properties, @babel/plugin-proposal-private-methods and @babel/plugin-proposal-private-property-in-object (when they are enabled): you can silence this warning by explicitly adding ["@babel/plugin-proposal-private-methods", { "loose": true }] to the "plugins" section of your Babel config. Successfully compiled 4 files with Babel (925ms). [WARN] gi.cc: GetConstantValue: 137: Couldn't load HarfBuzz.LANGUAGE_INVALID: invalid constant size: 0

Can you please help me running the examples?

Thank you very much!

mrZero88 avatar Jul 10 '21 14:07 mrZero88

I do not believe the babel warnings are the issue. I think the issue is with HarfBuzz.

[WARN] gi.cc: GetConstantValue: 137: Couldn't load HarfBuzz.LANGUAGE_INVALID: invalid constant size: 0

I'll try and do some more research into this issue.

clayrisser avatar Jul 10 '21 22:07 clayrisser

I have similar warning on linux:

[WARN] gi.cc: GetConstantValue: 134: Couldn't load HarfBuzz.LANGUAGE_INVALID: invalid constant size: 0

But application is working as expected

rzr avatar Jan 27 '22 22:01 rzr

Sorry for the long long wait. We will have a stable version of this with GTK4 support ready by Christmas 2023! Please join the discord for live updates and feedback.

https://discord.gg/qv7GT5xctw

clayrisser avatar Dec 09 '23 14:12 clayrisser