I am trying to use gen-cuba-front to generate React UI.
gen-cuba-front react-typescript:entity-management-hooks --dirShift ../../../ --dest src/app/test
However, it throws the below error. My Cuba Studio IntelliJ is open, and ‘Enable Integration’ checkbox is already ticked.
node:events:491
throw er; // Unhandled 'error' event
^
Error: Can't establish connection to CUBA Studio. Please open CUBA Studio Intellij and tick 'Enable Integration' checkbox. Or provide path to project model json file as cli parameter --model
Could you please assist me on this issue. Thanks in advance. I have tried with node versions 18 and 16.