Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49083

Failed to install 'cordova-plugin-x-socialsharing' - Cannot find module 'compare-func'

$
0
0

Failed when I try to install the plugin cordova-plugin-x-socialsharing.
I already removed and installed again the cordova and continue the same problem.
npm uninstall cordova -g / npm install cordova -g

Ionic info
Ionic:

Ionic CLI : 5.4.16
Ionic Framework : @ionic/angular 5.5.0
@angular-devkit/build-angular : 0.1002.0
@angular-devkit/schematics : 10.1.7
@angular/cli : 10.2.0
@ionic/angular-toolkit : 2.3.3

Cordova:

Cordova CLI : 10.0.0
Cordova Platforms : not available
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.1, (and 8 other plugins)

Utility:

cordova-res : 0.15.2
native-run : 1.2.2

System:

NodeJS : v14.15.0 (C:\Program Files\nodejs\node.exe)
npm : 6.14.8
OS : Windows 10

The problem

cordova.cmd plugin add cordova-plugin-x-socialsharing
Installing “cordova-plugin-x-socialsharing” for android
Plugin dependency “es6-promise-plugin@4.2.2” already fetched, using that version.
Dependent plugin “es6-promise-plugin” already installed on android.
Failed to install ‘cordova-plugin-x-socialsharing’: CordovaError: Failed to instantiate ProjectBuilder builder: Error: Cannot find module ‘compare-func’

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 49083

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>