Search code examples
cordovapluginszbar

Not able to cordova plugins add


After corvoda init, I run cordova plugins add org.cloudsky.cordovaplugins.zbar,But get error Error: Registry returned 404 for GET on https://registry.npmjs.org/org.cloudsky.cordovaplugins.zbar.

What's the problem?

And how Can I add plugin org.cloudsky.cordovaplugins.zbar.


Solution

    1. Manually download zip from link
    2. cd to your project folder
    3. cordova plugin add /path/to/plugin/directory this will install plugin from folder downloaded from git.

    Alternatively you can install directly from repo.

    1. cordova plugin add link/to/repo

    Regards