Operating System: Running macOS Sierra v 10.12.6
This is my first experience using Typescript and typeorm as I attempt to develop an application.
I have tried both of the following commands to install typeorm:
npm i -g typeorm
&
sudo npm i -g typeorm
After installation, the terminal displays the following:
+ [email protected]
added 127 packages from 406 contributors in 7.081s
However, when I try to execute typeorm CLI commands like:
typeorm init --name jwt-express-typeorm --database sqlite --express
I encounter this error:
bash: typeorm: command not found
I have attempted to uninstall the package globally using:
sudo uninstall typeorm -g --save
Despite reinstallation attempts, the same error persists. Any assistance would be greatly appreciated!