missing form file when building container in v23

When I upgraded from 21.0.3 to 23.2.6 I can no longer build my docker container images. This is the error I get.

Caused by: java.nio.file.NoSuchFileException: /var/lib/jenkins/workspace/IH_develop/node_modules/@vaadin/form

the file being referenced seems to not be there.

lrwxrwxrwx 1 jenkins jenkins 31 Nov  6 17:17 node_modules/@vaadin/form -> ../../target/flow-frontend/form
jenkins@ip-172-30-0-164:~/workspace/IH_develop$
jenkins@ip-172-30-0-164:~/workspace/IH_develop$ ls -al target/flow-frontend/form
ls: cannot access 'target/flow-frontend/form': No such file or directory```

Is this a known issue, or any ideas what this could be?  I do make use of LoginForm and FormLayout, in case that matters.

I have tried deleting the node_modules directory before building.  Thanks for any assistance.

Well I found a workaround for this. I split up the mvn command into two, and slipped in an rm command in between.


rm -rf node_modules/\@vaadin/form

mvn -Pdevelop dockerfile:build@tag-latest dockerfile:tag@tag-latest dockerfile:push@tag-latest```