First of all I would like to thank you for all your superb Add-ons. This o

First of all I would like to thank you for all your superb Add-ons.

This one seems to have a packaging problem because I get following errors by just adding the dependency to the pom:

o.a.c.c.C.[Tomcat]
.[localhost]
.
[/]       : Exception sending context initialized event to listener instance of class [com.vaadin.flow.spring.VaadinServletContextInitializer$DevModeServletContextListener]


java.lang.IllegalStateException: Running project in development mode with no access to folder '/Users/jean-christophe/Documents/vaadin-addon/custom-media-query'.
Build project in production mode instead, see https://vaadin.com/docs/v14/flow/production/tutorial-production-mode-basic.html

...

o.s.boot.SpringApplication               : Application run failed

org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat

Am I doing something wrong?

There is an issue with the
org.vaddon
mediaquery
2.0.1

packaging as far as I can see.

Hi,

Yes i fixed the issue in version 2.0.3 of the media query. https://github.com/jcgueriaud1/custom-media-query/issues/4

Perhaps you can open an issue for the css grid add-on to update the dependency.

You can also media query dependency from the css grid in you pom.xml. and add a newer version.