vaadin / designer

Public repository for Vaadin Designer
https://vaadin.com/designer
15 stars 3 forks source link

Cannot detect Node installed by NVM in MacOS #2377

Open tanbt opened 3 years ago

tanbt commented 3 years ago

Steps to reproduce

Node that is installed by NVM in MacOS is located in e.g. /Users/username/.nvm/versions/node/v14.15.0/bin/node that can't be detected by Designer,

Actual behavior

image

Expected behavior

Since node runs in terminal, Designer should be able to work with it.

A workaround is to create a symbolic link e.g. sudo ln -s /Users/username/.nvm/versions/node/v14.15.0/bin/node /usr/local/bin/

IDE, Designer and OS version

IntelliJ, Designer 4,6, MacOS

tanbt commented 3 years ago

There is a case that Node is missing in Windows (Node not found when running where node) but Designer doesn't show any message and resources aren't resolved. image image

Designer should detect Node more accurately and show meaningful messages.

tanbt commented 3 years ago

There is a customer case that his Windows doesn't have Node.js installed, Designer opens the view but the Editor's paper is empty without a meaningful error message. This should be improved because it may take time to find that reason.

frankvoelker commented 1 year ago

Any news on this? Using Vaadin Designer on MacOS with Eclipse and IntelliJ. Both not working. Both same error "Vaadin Designer requires Node..."

But Node is installed!

Tried the ln -s symlink method, not working Tried installing NodeJS by hand and adding /bin to my $PATH, same error Tried using nvm (and also symlinking to /usr/local/bin) same error

How are we supposed to use the test period and see if Vaadin Designer is working for us when Designer is not even starting. Even a collegue with Windows / Eclipse cannot use it because it is stuck on start "Please start the app at least once"-message even though the app was started 10 times