cordova-plugin-whitelist Error 404 not found

I tried to run this code: cordova plugin add cordova-plugin-whitelist but what I keep getting is this:

Fetching plugin "cordova-plugin-whitelist" via plugin registry Error: 404 Not Found: cordova-plugin-whitelist at RegClient.<anonymous> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:304:14) at Request._callback (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:246:65) at Request.self.callback (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/request/request.js:236:22) at Request.emit (events.js:98:17) at Request.<anonymous> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/request/request.js:1142:14) at Request.emit (events.js:117:20) at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/request/request.js:1096:12) at IncomingMessage.emit (events.js:117:20) at _stream_readable.js:943:16 at process._tickCallback (node.js:419:13)

Any ideas?


From an official blog post, Cordova is moving their plugins to npm.

I installed the cordova-plugin-whitelist easily now with npm:

npm install cordova-plugin-whitelist

I want to add on an additional answer:

In Visual Studios (VS2015 at least) you can open the config.xml in designer mode (or Shift + F7 to open it) and go to Plugins -> Custom and then give the git repo URL to install a plugin that way to have it be available to the project you're working on.

I ran into the same issue today, and basically I needed the plugin, but it isn't maintained on

Thankfully, cordova can resolve git repos I just used that instead

cordova plugin add

Need Your Help

How to open button click url in default browser or webview

android android-layout android-intent

How can I open an url in a webview or in the default browser after clicking a button? Currently, when I click the btn1 button it prompts me to select a browser from the phone. I want to open this url

Unable to locate Spring NamespaceHandler for XML schema namespace Application-Context

xml spring maven gwt xsd

I'm developing an GWT web app using some Spring libraries. I use Maven to include my dependencies.