typescript cannot find module code example
Example 1: cannot find module typescript
npm install -g typescript
Example 2: Cannot find module 'typescript'
# 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 installation
Example 3: cannot find module 'typescript' angular 9
npm install -g typescript