Skip to content
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

Vaadin Designer shows an empty layout in IntelliJ IDEA #2468

Open
Tymur-Lohvynenko-Epicor opened this issue May 1, 2024 · 1 comment
Open

Comments

@Tymur-Lohvynenko-Epicor
Copy link

Steps to reproduce

Actual behavior

I get an empty layout, Vaadin Designer does not render components
image
I've got errors com.vaadin.designer2.server.NodeServerNpmImportResolver - Wait on node server timed out. java.util.concurrent.TimeoutException in logs.
See idea-logs.txt

Expected behavior

Vaadin Designer renders components(buttons, textfields, comboboxes)

IDE, Designer and OS version

IntelliJ IDEA 2023.3.6 (Ultimate Edition)
Build #IU-233.15026.9, built on March 21, 2024
Runtime version: 17.0.10+1-b1087.23 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11.0
Vaadin Designer version: 4.6.26

@ofenhorn
Copy link

ofenhorn commented Jul 29, 2024

I had the same issue and found a workaround that works for me.
The problem seems to be that the designer can't execute the node binary because it is in a different directory.
My fix was to create a link to the real binary by executing
mklink /H %userprofile%\.vaadin\designer-node-server\node.exe %userprofile%\.vaadin\node\node.exe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants