-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vaadin fails to start from version 24.3.8 to 24.6.2 #20931
Comments
Did you try to run |
@mcollovati yes, and I am getting the same behaviour |
It could be related to the issue you linked. |
BTW, may I ask you why do you want to run the app in development mode from the command line instead of launching from the IDE? Also, if it is a Spring Boot base project, you can run |
The |
Description of the bug
My application runs in 24.3.8, I want to update to implement new features,
When changing the version and running it I get the following error on building the frontend:
`2025-01-29T15:59:48.058+01:00 ERROR 20252 --- [nio-8080-exec-8] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] thr
ew exception [com.vaadin.flow.server.ServiceException: java.lang.IllegalStateException:
Failed to find the following css files in the
node_modules
ormyproject\src\main\frontend
directory tree:- ./styles/vaadin-checkbox.css
Check that they exist or are installed. If you use a custom directory for your resource files instead of the default
frontend
folder then make sure it's correctly configured (e.g.set 'vaadin.frontend.frontend.folder' property)
] with root cause
java.lang.IllegalStateException:
Failed to find the following css files in the
node_modules
ormyproject\src\main\frontend
directory tree:- ./styles/vaadin-checkbox.css
Check that they exist or are installed. If you use a custom directory for your resource files instead of the default
frontend
folder then make sure it's correctly configured (e.g.set 'vaadin.frontend.frontend.folder' property)
`
I see that the types.d.ts was updated from:
declare module '*.css' { import { CSSResultGroup } from 'lit'; const content: CSSResultGroup; export default content; }
to:
I run it by doing a mvn clean install and then run the jar. So it is running a jar on development mode.
So might be related to the question here: #18611
(This is run like this because otherwise the command name is too long and I cannot run it locally)
I also not requesting any css for the vaadin-checkbox. I use the Checkbox component but the css stylying request is being done by other process.
Expected behavior
The application runs as expected.
Minimal reproducible example
Versions
The text was updated successfully, but these errors were encountered: