Hello. Developing an application using Apache Cordova. There was a need to install the plugin. I do as it is written in the office of documentation
cordova plugin add cordova-plugin-dialogs In response, such an error
(node:5060) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Failed to fetch plugin cordova-plugin-code-push@latest via registry. Probably this is either a connection problem or plugin spec is incorrect. Check your connection and plugin name / version / URL. Error: cmd: Command failed with exit code 1 Error output: npm ERR! Windows_NT 10.0.17134 npm ERR! argv "C: \ Program Files \ nodejs \ node.exe" "C: \ Program Files \ nodejs \ node_modules \ npm \ bin \ npm-cli.js" "install" "cordova-plugin-code-push @ latest" " --production "" --save "npm ERR! node v6.11.3 npm ERR! npm v3.10.10
npm ERR! Hostname / IP doesn't match certificate's altnames: "Host: registry.npmjs.org. Is not in the cert's altnames: DNS: a.sni.fastly.net, DNS: a.sni.global-ssl.fastly.net" npm ERR! npm ERR! If you need help, you can report this error at: npm ERR! https://github.com/npm/npm/issues
I rummaged through a bunch of information, tried various variations of the installation of plug-ins - all confused.