简体   繁体   中英

ERROR Error: Uncaught (in promise): plugin_not_installed cordova plugin Filepath and File Chooser

I am Using FilePath And File Chooser Plugin to choose an attachment and convert it into base 64.

command Used to install Filepath: npm install cordova-plugin-filepath npm install @ionic-native/file-path

command used to install File Chooser npm install cordova-plugin-filechooser npm install @ionic-native/file-chooser

enter image description here

it looks like you haven't add the plugin to your package.json file. In order to do that in Ionic type this commands on a terminal opened in your project folder:

ionic cordova plugin add cordova-plugin-filechooser
npm install @ionic-native/file-chooser

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM