JetBrains / react-buddy-ide-toolbox

@react-buddy/ide-toolbox and palette packages
Apache License 2.0
60 stars 5 forks source link

Preview shows empty screen in linux #82

Closed mobinyardim closed 1 year ago

mobinyardim commented 1 year ago

I have React buddy on my mac machine it works perfectly but on my Linux machine with the same project preview shows nothing and this is the IDE log after opening the preview windows:

2023-02-06 12:01:32,647 [ 2130] WARN - #c.i.e.RunManager - Must be not called before project components initialized Info | RdCoroutineScope | 27:DefaultDispatcher-worker-9 | RdCoroutineHost overridden 2023-02-06 12:01:34,498 [ 3981] WARN - #c.i.o.w.i.c.h.t.MainMenuButton - rootPane is not set, MainMenu button listeners are not installed 2023-02-06 12:01:38,034 [ 7517] WARN - #com.haulmont.rcb.server.RcbTypeScriptLanguageService - ls highlight breaks 2023-02-06 12:01:45,809 [ 15292] WARN - com.jediterm.terminal.model.JediTerminal - Unsupported erase in display mode:3 2023-02-06 12:01:46,376 [ 15859] WARN - com.jediterm.terminal.model.JediTerminal - Unsupported erase in display mode:3

web-devel commented 1 year ago

Hi! Please clarify the version of your IDE and React Buddy plugin.

mobinyardim commented 1 year ago

Ract Buddy plugin version: 2022.6.2-223 Webstorm version:2022.3.2 WS-223.8617.44 Intellij unlimited version: 2022.3.2 IU-223.8617.56

web-devel commented 1 year ago

@mobinyardim Hi! We were unable to reproduce the issue on two Linux machines. Could you please check if the standard dev server works ok (i.e. opening the app in a browser). Also, what type of bundler/meta-framework do you use? (cra/vite/next/custom webpack)

mobinyardim commented 1 year ago

Hi! The dev server works correctly in the browser but I don't know the preview components routes to test them too. I use webpack.

I test in the other Linux machine it works, I think there is a problem with IDE or plugin.

web-devel commented 1 year ago

Ok, we can try to disable GPU acceleration through the Registry

image

cef-gpu

mobinyardim commented 1 year ago

I try it it doesn't work, something is wrong with my onboard GPU driver I guess. I change my Linux distro and everything is ok now by the way thank you for responding