1

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.

Generaldeep
  • 437
  • 2
  • 12
  • 30

1 Answers1

1

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
n00b
  • 1,832
  • 14
  • 25
  • you're right it was a npm error. I ran the commands above and got this error (https://ibb.co/jVoEnw) after running npm install – Generaldeep Dec 01 '17 at 21:39