com.vaadin.flow.component.littemplate.LitTemplate cannot be resolved. i am

com.vaadin.flow.component.littemplate.LitTemplate cannot be resolved. i am getting this error

Hi Rounak,

What vaadin version are you using? Are you using flow or fusion?

Hi, I tried with Vaadin 22.0.4 and there I’m getting following error (with 14.8.x all is fine):

ERROR in …/target/flow-frontend/notification-menu.ts Module not found: Error: Can’t resolve ‘lit-element/lib/decorators.js’ in ‘/Users/mstahv/Downloads/skeleton-starter-flow-spring-22/target/flow-frontend’
[build-status]
1 error and 0 warnings were reported.

@see https://github.com/dg0s/notification-menu/pull/6

It seems problem still exists with vaadin 23.3.6. Is it scheduled to fix this problem?

ERROR in ./generated/jar-resources/notification-menu.ts

Module not found: Error: Can't resolve 'lit-element/lib/decorators.js'


Also it seems that the corresponding item is still open: https://github.com/dg0s/notification-menu/issues/5

Yeah, looks like Diego hasn't yet published a version that works with lit 2 (~ Vaadin 23). Can you use a local snapshot build in the mean time?