You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This enhancement has been done to how Hilla discovers endpoints and installs needed packages.
I've just tested this with the 24.7 pre-release and it seems broken, I got:
Error: Cannot find module 'xxx/skeleton-starter-flow-spring/node_modules/@vaadin/hilla-generator-cli/bin/index.js'
at Function._resolveFilename (node:internal/modules/cjs/loader:1249:15)
at Function._load (node:internal/modules/cjs/loader:1075:27)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:219:24)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:170:5)
at node:internal/main/run_main_module:36:49 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
and node_modules/@vaadin indeed has no Hilla packages installed.
Application fails to start.
Configuration (see attached branch):
ReactAdapterElement that uses Hilla Endpoint
Hilla Endpoint
ReactAdapterComponent that used as a route
no React views
Expected-behavior
Application should install Hilla packages and start normally when Endpoint is used from ReactAdapterElement.
Describe the bug
This enhancement has been done to how Hilla discovers endpoints and installs needed packages.
I've just tested this with the 24.7 pre-release and it seems broken, I got:
and
node_modules/@vaadin
indeed has no Hilla packages installed.Application fails to start.
Configuration (see attached branch):
Expected-behavior
Application should install Hilla packages and start normally when Endpoint is used from ReactAdapterElement.
Reproduction
Can be reproduced with this branch https://github.com/vaadin/skeleton-starter-flow-spring/tree/react-adapter-with-endpoint. Just start the app with
mvn
and you'll see the error.System Info
Vaadin 24.7.0.alpha8.
The text was updated successfully, but these errors were encountered: