79710816

Date: 2025-07-22 16:50:46
Score: 0.5
Natty:
Report link

Good day. I have a solution to your problem. You need to add an empty package.json file to the project in the following format:

{ "name": "", "description": "", "version": "0.1.0", "dependencies": {}, "devDependencies": {} }

After this, Vaadin will generate all dependencies and will not delete the frontend part.

Long explanation: Vaadin assumes that if there is no customization in the application, it dynamically generates the frontend, builds it into an artifact, and deletes it. The presence of even an empty package.json is considered a sign of customization.

Reasons:
  • Blacklisted phrase (1): Good day
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: rastafarra