Cannot find module 'cordova-plugin-simple-file-chooser'.

Moderator: Support

kevinmcisaac
Posts: 37
Joined: Mon Oct 05, 2020 8:27 am

Cannot find module 'cordova-plugin-simple-file-chooser'.

Post by kevinmcisaac »

I wanted to use the cordova-plugin-simple-file-chooser as it supports multi file selection:

I've

  • Added this to Resource/Cordova Plug in. It has Plugin Id: cordova-plugin-filepath

  • In App settings/Cordova plugin/Imported Cprdova Plugins I found and checked "Chooser"

  • In app setting/Npm modules, added cordova-plugin-simple-file-chooser

  • In Pages/app/Module/Imports added import { Chooser } from 'cordova-plugin-simple-file-chooser';

  • Pages/App/module/Providers added Chooser

  • Pages/ImportIGC/Code/Includes/Custom Includes added {Chooser} and cordova-plugin-simple-file-chooser

  • Pages/ImportIGC/Variables added Name: chooser Type: "Chooser" and checked Add DI

When I test I get the error:
ERROR in src/app/ImportIGC/ImportIGC.ts:40:8 - error TS2307: Cannot find module 'cordova-plugin-simple-file-chooser'.

40 } from 'cordova-plugin-simple-file-chooser';

Code: Select all

src/app/app.module.ts:80:8 - error TS2307: Cannot find module 'cordova-plugin-simple-file-chooser'.

80 } from 'cordova-plugin-simple-file-chooser';

I can't figure out what I've got wrong.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Re: Cannot find module 'cordova-plugin-simple-file-chooser'.

Post by Evgene Karachevtsev »

Hello,

We are very sorry, but plugins are outside the scope of our standard support, unfortunately: https://docs.appery.io/docs/general-support-policy
You may consider purchasing Services Pack to get help on this question if needed: https://appery.io/services/

Post Reply