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 ([email protected]) fixed it:

cordova plugin add ../my-plugin --nofetch

According to https://github.com/apache/cordova-cli/blob/master/RELEASENOTES.md :
Use --nofetch flag to fetch platforms and plugins using old fetching logic.

Leave a Comment