Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70443

Cannot get '@ionic-native/file/ngx' to work

$
0
0

@alexmehler wrote:

my app always fails with in the console :

Error: Uncaught (in promise): NullInjectorError: StaticInjectorError(AppModule)[CustomersPage -> File]:
StaticInjectorError(Platform: core)[CustomersPage -> File]:
NullInjectorError: No provider for File!

i dont even use the file in any function right now , just importing ‘@ionic-native/file/ngx’

already makes teh app fail … no matter if serve, run browser , cordova run android or capacitor run android …

holy shit its really hard to get into ionic with the fractured knowledgebase … ionic 3 , ioic 4 , cordova , capacitor … every tutorial is different , every example code on github or stack overflow is different , i now tried several methods just to implement a file api at all , not even doing anything with it

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70443

Trending Articles