TypeError: Cannot read property 'cache' of undefined discordjs 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