Theme select plugin

I cannot use the theme-select plugin if my app is built in development mode.

"Caused by: java.lang.IllegalStateException: Running project in development mode with no access to folder ‘/Users/jouni/Dev/theme-select’.
Build project in production mode instead."

Could I ask why is that? Is something that can be addressed?

Seems like the build accidentally contains a META-INF/VAADIN/config/flow-build-info.json file with a reference to some files on the author’s own computer. Would need to ask him to create a new build without that file.

Also, what Vaadin version are you using? I have a faint memory that we added a feature to ignore such files if they are accidentally included so there’s a small chance it will start working if you update to the latest version and build the project using Maven at least once.

Hello Leif.

Thanks for the quick reply! I am using 24.7.1, but I will upgrade the version to the current latest version, which is 24.7.6, and I will test again.

Hello again. I have upgraded the Vaadin version to 24.7.6, but it did not resolve the issue, unfortunately.
Should I ask the owner to create a build without this file via a ticket in Github, or is this post enough to trigger him? Thanks in advance.

I already notified him about it.

Hey! Thanks for pointing this out. I published a new version, 1.0.2, please try that and let me know if it helped.

2 Likes

Thanks for the quick reaction Jouni. I did a quick test and looks great for now. Thanks!

1 Like