Components not visible in view in flow ui

Components not visible in views in flow ui with latest build. Restart will show front end development build … but nothing happens.

What should I do?
Screenshot 2023-09-10 072438

Hi,

Which version of the Jmix Studio plugin are you using?
And could you attach logs from the console (click ‘Console’ button in designer)?

Regards,
Mikhail

jmix latest.

console log is attached. It says not able to install nodejs.

> [2023-09-10T10:42:14.973547500]: Restarting View Designer...
> 2023-09-10 10:42:16 LOG INFO: Starting dev-mode updaters in folder (D:\JmixFlow\riskmanager\.jmix\screen-designer)
> 2023-09-10 10:42:16 LOG INFO: Added 5 default dependencies to main package.json
> 2023-09-10 10:42:16 LOG INFO: Executing task: TaskCopyThemes
> 2023-09-10 10:42:16 LOG INFO: Executing task: TaskGeneratePackageJson
> 2023-09-10 10:42:16 LOG INFO: Executing task: TaskGenerateIndexHtml
> 2023-09-10 10:42:16 LOG INFO: Executing task: TaskGenerateIndexTs
> 2023-09-10 10:42:16 LOG INFO: Executing task: TaskGenerateViteDevMode
> 2023-09-10 10:42:16 LOG INFO: Executing task: TaskGenerateTsConfig
> 2023-09-10 10:42:16 LOG INFO: Executing task: TaskGenerateTsDefinitions
> 2023-09-10 10:42:16 LOG INFO: Executing task: TaskGenerateBootstrap
> 2023-09-10 10:42:16 LOG INFO: Executing task: TaskGenerateFeatureFlags
> 2023-09-10 10:42:16 LOG INFO: Executing task: TaskInstallFrontendBuildPlugins
> 2023-09-10 10:42:16 LOG INFO: Executing task: TaskUpdatePackages
> 2023-09-10 10:42:16 LOG INFO: Executing task: TaskRunNpmInstall
> 2023-09-10 10:42:16 LOG INFO: Skipping `pnpm install` because the frontend packages are already installed in the folder 'D:\JmixFlow\riskmanager\.jmix\screen-designer\node_modules' and the hash in the file 'D:\JmixFlow\riskmanager\.jmix\screen-designer\node_modules\.vaadin\vaadin.json' is the same as in 'package.json'
> 2023-09-10 10:42:16 LOG INFO: Executing task: TaskCopyFrontendFiles
> 2023-09-10 10:42:16 LOG INFO: Copying frontend resources from jar files ...
> 2023-09-10 10:42:16 LOG INFO: Visited 2 resources. Took 40 ms.
> 2023-09-10 10:42:16 LOG INFO: Executing task: TaskCopyLocalFrontendFiles
> 2023-09-10 10:42:16 LOG INFO: Executing task: TaskUpdateSettingsFile
> 2023-09-10 10:42:16 LOG INFO: Executing task: TaskUpdateVite
> 2023-09-10 10:42:17 LOG INFO: Vite configuration 'D:\JmixFlow\riskmanager\.jmix\screen-designer\vite.config.ts' has been updated
> 2023-09-10 10:42:17 LOG INFO: Executing task: TaskUpdateImports
> 2023-09-10 10:42:17 LOG INFO: Executing task: TaskUpdateThemeImport
> 2023-09-10 10:42:17 LOG INFO: Executing task: TaskCopyTemplateFiles
> 2023-09-10 10:42:17 LOG INFO: Waiting for a VaadinServlet to be deployed
> 2023-09-10 10:42:18 LOG INFO: Starting Vite
> 2023-09-10 10:42:20 LOG INFO: Updating unsupported node version 16.14.2 to 18.14.1
> 2023-09-10 10:42:21 LOG INFO: Node 16.14.2 was installed, but we need version v18.14.1
> 2023-09-10 10:42:21 LOG INFO: Installing node version v18.14.1
> 2023-09-10 10:42:21 LOG INFO: Unpacking C:\Users\Umesh\.vaadin\node-v18.14.1-win-x64.zip (2488972 bytes) into C:\Users\Umesh\.vaadin\node\tmp
> 2023-09-10 10:42:22 LOG INFO: DevServer start failed. Cause: java.lang.IllegalStateException: Failed to install Node Message: java.lang.IllegalStateException: Failed to install NodeStacktrace: 
> [java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:332), java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:347), java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:874), java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:841), java.base/java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:483), java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373), java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182), java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655), java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622), java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)]
> 2023-09-10 10:42:22 LOG INFO: DevServer start failed. Cause: java.lang.IllegalStateException: Failed to install Node Message: java.lang.IllegalStateException: Failed to install NodeStacktrace: 
> [java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:332), java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:347), java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:874), java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:841), java.base/java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:483), java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373), java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182), java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655), java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622), java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)]

thanks

You have node version 16.14.2 on your computer, try updating it manually as workaround if this error occurs constantly and it cannot be avoided.

We already have a ticket with a similar problem: IllegalStateException: Failed to install Node · Issue #2177 · jmix-framework/jmix · GitHub

Also since Jmix Studio version 2.1 we have separated the Preview and Jmix UI tool window. This change will help to avoid problems working with descriptors (Component Hierarchy and Component Inspector) due to similar problems with previews.

1 Like