As soon as I run command cordova add platform or ionic cordova plugin add https://github.com/moust/cordova-plugin-videoplayer.git I get the error stated below.
(node:5072) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejec tion id: 1): CordovaError: Cordova does not know add; try cordova help for a l ist of all the available commands. (node:5072) [DEP0018] DeprecationWarning: Unhandled promise rejections are depre cated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
I tried degrading cordova but it did not work. How do I solve this problem?