Cannot find module 'sweetalert2' or its corresponding type declarations. code example Example: sweetalert angular 8 npm install --save sweetalert2