Cordova plugin add -- Failed to get absolute path to installed module

I got the same error message when adding a local plugin: Error: Failed to get absolute path to installed module.

Using the option –nofetch (cordova@7.0.1) fixed it:

cordova plugin add ../my-plugin –nofetch

    原文作者:一工口
    原文地址: https://www.jianshu.com/p/95d7010b1c81
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞