I have a jhipster project. It is running fine in dev mode. When I try to build in production mode (using the cmd "mvnw -Pprod"), I am getting the error :
ERROR in src\main\webapp\app\entities\ext-task\ext-task-group-list\ext-task-group-list.component.html(1,457): : Expected 0 arguments, but got 1. src\main\webapp\app\entities\ext-task\ext-task-group-list\ext-task-group-list.component.html(1,665): : Expected 0 arguments, but got 1. src\main\webapp\app\entities\ext-task\ext-task-list-template\ext-task-list-template.component.html(1,302): : Expected 0 arguments, but got 1. src\main\webapp\app\entities\ext-task\ext-task-list-template\ext-task-list-template.component.html(1,505): : Expected 0 arguments, but got 1.
All the 4 errors point to line 1, which is empty.
In order to find the actual line number, I tried following cmd (found in so).
yarn run cleanup && yarn run webpack:prod:main && yarn run clean-www
Got the same error.
How do I find the error line number? Is there any debug option available in mvnw to display more info? How to resolve this error?