In order to see the errors with line numbers from your code you need to allow source maps in your bundling configuration.
Currently even if you set minify to false the code is still transpiled from TypeScript to pure JavaScript which causes the line numbers to mismatch.
When you generate source maps the logs will be more precise but in some cases this might not help.
If you need help with setting up source maps in your configuration please let me know as I would need more information on your setup.
Also please let me know if this helped - if not we can try to find another solution together :-)