Closed cudzich closed 4 years ago
Problem: $ > ng build --prod Returns
ERROR in src/app/components/modal/modal.component.html(113,57): : Expected 2 arguments, but got 1.
Problem is in the following file \src\app\components\modal\modal.component.html on line 113
<button type="button" class="btn btn-primary btn-round" (click)="open(Login)">
Solution:
<button type="button" class="btn btn-primary btn-round" (click)="open(Login, '')">
PS. BE AWARE: the support is non-existent.
Version
latest
Reproduction link
None
Operating System
Ubuntu
Device
Server
Browser & Version
Server
Steps to reproduce
What is expected?
Expected output: static files after the application complies. I can serve the webpage without any issues. But I want to place it on my webserver, running the ng build --prod fails everytime.
What is actually happening?
ERROR in src/app/components/modal/modal.component.html(113,57): : Expected 2 arguments, but got 1.
Solution
Additional comments