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
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