Vaadin starter

message.txt (5.61 KB)

What error did you see?

It’s already solved, now I’m experiencing the following issue when compiling hilla:
node:internal/errors:484
ErrorCaptureStackTrace(err);
^

Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'D:\WebDev\AVANTCAB\drivers\node_modules\yargs-parser' imported from D:\WebDev\AVANTCAB\drivers\node_modules@hilla\generator-typescript-cli\node_modules\meow\index.js
at new NodeError (node:internal/errors:393:5)
at legacyMainResolve (node:internal/modules/esm/resolve:235:9)
at packageResolve (node:internal/modules/esm/resolve:847:14)
at moduleResolve (node:internal/modules/esm/resolve:909:20)
at defaultResolve (node:internal/modules/esm/resolve:1124:11)
at nextResolve (node:internal/modules/esm/loader:163:28)
at ESMLoader.resolve (node:internal/modules/esm/loader:841:30)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
at ModuleWrap. (node:internal/modules/esm/module_job:76:40)
at link (node:internal/modules/esm/module_job:75:36) {
code: ‘ERR_MODULE_NOT_FOUND’
}

Node.js v18.12.1

It sounds like something went wrong when downloading npm packages. Try deleting the node_modules package and running the app again

Thanks!!

I am now getting this error when running the docker image
image.png

My Dockerfile is:

FROM eclipse-temurin:17-jre
COPY target/*.jar app.jar
ADD target/*.jar app.jar
EXPOSE 8083
ENTRYPOINT ["java", "-jar", "/app.jar"]

Are you able to get the full log to see what the cause was for that?