core.js:4197 ERROR Error: Uncaught (in promise): Error: Cannot find module 'tslib' in ionic 5 code example
Example: add module tslib
// TypeScript 3.9.2 or later
npm install tslib
// TypeScript 3.8.4 or earlier
npm install tslib@^1
// TypeScript 2.3.2 or earlier
npm install tslib@1.6.1