Full stack application with experimental flowUI error during create project

Create flowUI app fails with following error.

Error when running npm install

java.io.IOException: Cannot run program “–no-update-notifier” (in directory “C:\Users\dale\IdeaProjects\jm_flow1.jmix\screen-designer”): CreateProcess error=2, The system cannot find the file specified
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1143)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1073)
at com.haulmont.jmixstudio.flowui.devserver.frontend.TaskRunNpmInstall.runNpmCommand(TaskRunNpmInstall.java:470)
at com.haulmont.jmixstudio.flowui.devserver.frontend.TaskRunNpmInstall.runNpmInstall(TaskRunNpmInstall.java:354)
at com.haulmont.jmixstudio.flowui.devserver.frontend.TaskRunNpmInstall.execute(TaskRunNpmInstall.java:172)
at com.haulmont.jmixstudio.flowui.devserver.frontend.NodeTasks.execute(NodeTasks.java:960)
at com.haulmont.jmixstudio.flowui.devserver.startup.DevModeInitializer.runNodeTasks(DevModeInitializer.java:379)
at com.haulmont.jmixstudio.flowui.devserver.startup.DevModeInitializer.lambda$initDevModeHandler$0(DevModeInitializer.java:304)
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.base/java.lang.ProcessImpl.create(Native Method)
at java.base/java.lang.ProcessImpl.(ProcessImpl.java:499)
at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:158)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1110)
… 14 more

Hi,
Flow UI applications now is experimental and non-stable in Jmix.
From stacktrace, I can assume that the problem is in the wrong file path to “screen-designer” directory.
Сould you clarify if this problem also occurs on other projects or only on current project?

Only in the Flow UI projects. The single module projects work fine. So I guess need to modify the file path or move the “screen-designer” directory to where it is expected? Thanks for your assistance!

Hi,
You can try create a new project with the different name, probably it was happened because studio cannot correct parse path to “screen-designer” directory (from your stacktrace we can see “\jm_flow1.jmix” part of the path when missing ‘’ separator before “.jmix” directory).

Also, you can attach a project and we will create a ticket.