Cannot find module 'typescript'

Shell
# NPM Installation Method
npm install --global typescript # Global installation
npm install --save-dev typescript # Local installation

#Yarn Installation Method
yarn global add typescript # Global installation
yarn add --dev typescript # Local installationnpm install -g typescript
Source

Also in Shell: