nodejs cannot read property of undefined code example
Example 1: Cannot read property 'kind' of undefined
----------- re-run server --------------
ng serve
Example 2: sweetalert Cannot read property 'constructor' of undefined
Try doing swal.fire() worked for me