1
votes

I'm trying to add Appsee plug-in to my ionic 2 app.But when I try to install it using the following command:

ionic cordova plugin add cordova-plugin-appsee

I'm getting the below error in my terminal

Error: getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:443

Has there been an update to Ionic that's giving me this error?

edit

Upon n00b's suggestion I ran npm init, and npm install which is giving me this error.

1
are you sure your internet connection was good when you ran the command? this is weirdewizard
yea, my internet is pretty good. I haven't had any issues.Generaldeep
check the connection by running this command line telnet registry.npmjs.org 443 :)zatamine

1 Answers

1
votes

This is most likely not an ionic issue. more likely an NPM issue. 1. make sure you don't have a proxy. if you have a proxy you should set the proxy for NPM 2. try if you can install any other packages. by doing these commands

npm init
npm install @angular/core --save