Jmix 2.3.0 Infinite "Building front-end development bundle" in IDEA 2024.1.2

Hi, I got “infinite” Building front-end development bundle screens after two occasions:

  1. I migrated to Jmix 2.3.1
  2. I installed Charts plugin from Jmix marketplace
    After each one I was “greeted” with this:
    image
    Logs don’t show anything except an attempt of updating frontend packages…

2024-07-27T21:32:26.271+04:00 DEBUG 26276 — [nio-8080-exec-2] io.jmix.core.AccessLogger : Denied access to [view: MainView] for user [anonymous] by io.jmix.securityflowui.constraint.UiShowViewConstraint
2024-07-27T21:32:28.973+04:00 INFO 26276 — [onPool-worker-1] c.v.f.s.frontend.TaskUpdatePackages : using ‘C:\Program Files\nodejs\npx.cmd --yes --quiet pnpm --shamefully-hoist=true --ignore-scripts install’ for frontend package installation

I tried manually executing this command even without --quiet key. No errors whatsoever

image

The only fix for me was to uninstall a plugin/migrate to a previous Jmix version

IntelliJ IDEA 2024.1.4 (Community Edition)
Build #IC-241.18034.62, built on June 20, 2024
Runtime version: 17.0.11+1-b1207.24 amd64
Windows 10 LTSC

Hello Arkadii!

Did you try to remove bundles, build and frontend/generated folders and launch an application?

I went through your steps but did not reproduce the problem. If the problem still persists, could you reproduce it in other demo project and share it?

1 Like

Sorry for being late here
So, I tried deleting build and frontend/generated (couldn’t find bundles, sorry). Nothing changed…
Now I set up my desktop recording software and started a new squeaky clean project on video to show what’s going on aaand it’s stuck on the same “Building front-end”, although it’s utilizing almost 30% of my CPU (r5 2600). So, maybe it’s doing something? (idk)
I’ll try to keep this thread updated and post a video if I’d be able to get new project up&running…

Try to delete the directory .pnpm-store.

This often solves problems like this.

Just in case, bundles is in src/main.

1 Like

I don’t know what happened (such a non-programmer response lmao :grin:), but after deleting bundles, rebuilding project and starting it twice (first time i got filesystem overflow(?) error) it compiles and starts nicely every time. Gonna try building my project on manjaro-driven laptop… I highly suspect it was system (I’m on LTSC) or hardware-specific problem

1 Like