Is there some problem with the NPM registry?


#1

Since yesterday I am trying to add the android platform and all the needed plugins needed for a project I just got.

However, I’m always getting the following when I try to add Android:

Error: Failed to fetch plugin onesignal-cordova-plugin@^2.2.0 via registry.
        Probably this is either a connection problem, or plugin spec is incorrect.
        Check your connection and plugin name/version/URL.
        Failed to get absolute path to installed module

And if by any chance it works, it’ll start installing the plugins and then the same happens with some of them:

Failed to restore plugin "cordova-plugin-ionic" from config.xml. You might need to try adding it again. Error: Failed to fetch
plugin cordova-plugin-ionic@4.1.7 via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL

My Ionic info:

cli packages: (C:\Users\UsuarioDT01\AppData\Roaming\npm\node_modules)

    @ionic/cli-plugin-proxy : 1.5.8
    @ionic/cli-utils        : 1.19.3
    ionic (Ionic CLI)       : 3.20.1

global packages:

    cordova (Cordova CLI) : 7.1.0

local packages:

    @ionic/app-scripts : 3.1.10
    Cordova Platforms  : android 6.3.0
    Ionic Framework    : ionic-angular 3.9.2

System:

    Android SDK Tools : 26.1.1
    Node              : v8.11.1
    npm               : 5.6.0
    OS                : Windows 10

Environment Variables:

    ANDROID_HOME     : C:\Users\UsuarioDT01\AppData\Local\Android\Sdk
    HTTP_PROXY       : not set
    http_proxy       : not set
    HTTPS_PROXY      : not set
    https_proxy      : not set
    IONIC_HTTP_PROXY : not set
    PROXY            : not set
    proxy            : not set

Misc:

    backend : pro

What’s going on?