Hello, I recently installed TypeScript and encountered an issue when trying to initialize tsc -v in the terminal. The error message I received was "bash: tsc: command not found."
During the installation process, I used npm install -g typescript@latest which resulted in version 2.8.3 being installed.
In my path at /Users/ventzy/node-global/lib, I have the following directory structure:
├── [email protected]
└── [email protected]
Although TypeScript appears to be installed based on the directory listing, I am unable to use it in Visual Studio or through the terminal.
I am running MacOS 10.13.4 High Sierra and need guidance on resolving this issue.
Can anyone provide assistance on how to fix this problem?