i use the code npm install -g cordova and the error are shown below:
npm ERR! code UNABLE_TO_VERIFY_LEAF_SIGNATURE
npm ERR! errno UNABLE_TO_VERIFY_LEAF_SIGNATURE
npm ERR! request to https://registry.npmjs.org/ionic failed, reason: unable to verify the first certificate
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\alip\AppData\Roaming\npm-cache_logs\2019-03-04T04_11_33_400Z-debug.log
i already try to use npm uninstall -g npm and install back using npm install -g npm@2.12.1 but still the same error occur. can anyone help me. I used this to develop mobile apps