npm run webpack:build.
npm install. you will probably have the cause of the error.
If you want to go fast, run
./mvnw to build and run everything.
If you want to have more control, so you can debug your issue more easily, you should follow the following steps:
npm run webpack:buildor
./mvnwor using your IDE