Attempting to set up Cordova on macOS Mojave, I executed the command npm i -g cordova
for a global installation, which was successful.
However, upon checking the version using cordova --version
, I encountered the error "cordova: command not found".
Furthermore, running which cordova
returned no results when trying to locate the installation directory.