Search code examples
cordovaibm-mobilefirstjsonstore

Failed to fetch plugin cordova-plugin-mfp-jsonstore via registry


I have tried to install cordova-plugin-jsonstore into a Cordova project. But I am getting the 'Failed to fetch plugin cordova-plugin-mfp-jsonstore via registry'. Check the screenshot.

Command is

cordova plugin add cordova-plugin-mfp-jsonstore

enter image description here

Please help to solve the issue. Thanks


Solution

  • I find the solution for the issue

    I have downgraded the version from Cordova 7.0.X to Cordova 6.5.0

    like below

    npm install -g [email protected]
    cordova -v
    6.5.0
    cordova plugin add cordova-plugin-mfp-jsonstore
    

    It working fine for me.

    I got solution from the link https://developer.ibm.com/answers/questions/385048/facing-issue-while-installing-jsonstore-in-cordova/