cyph / cordova-plugin-chooser

Cordova file chooser plugin.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error adding plugin to Cordova project...

cmeuser opened this issue · comments

Error adding plugin to Cordova project.

Error Message:

C02VG164HTDD:My-App meusercx$ ionic cordova plugin add cordova-plugin-chooser

cordova plugin add cordova-plugin-chooser
Installing "cordova-plugin-chooser" for ios
Installing "cordova-plugin-add-swift-support" for ios
Adding cordova-plugin-chooser to package.json
Using "requireCordovaModule" to load non-cordova module "glob" is not supported. Instead, add this module to your dependencies and use regular "require" to load it.
[ERROR] An error occurred while running subprocess cordova.

    cordova plugin add cordova-plugin-chooser exited with exit code 1.
    
    Re-running this command with the --verbose flag may provide more information.

Environment Details:

Ionic:

Ionic CLI : 5.1.0 (/usr/local/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 4.5.0
@angular-devkit/build-angular : 0.13.9
@angular-devkit/schematics : 7.3.9
@angular/cli : 7.3.9
@ionic/angular-toolkit : 1.5.1

Cordova:

Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : ios 5.0.1
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 4.1.0, (and 11 other plugins)

Utility:

cordova-res : not installed
native-run : 0.2.2 (update available: 0.2.6)

System:

Android SDK Tools : 26.1.1 (/Users/meusercx/Library/Android/sdk)
ios-deploy : 1.9.2
ios-sim : 8.0.1
NodeJS : v10.15.1 (/usr/local/bin/node)
npm : 6.9.0
OS : macOS Mojave
Xcode : Xcode 10.2.1 Build version 10E1001