Generaldeep
Generaldeep

Reputation: 445

Ionic/Cordova plugin error while trying to add a plug in

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.

Upvotes: 1

Views: 246

Answers (1)

n00b
n00b

Reputation: 1852

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

Upvotes: 1

Related Questions