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

Ionic 5 CameraOriginal loaded instead of just Camera

$
0
0

@swissfritz wrote:

I’m trying to migrate an app to Ionic 5 by rebuilding it from scratch. I loaded the Cordova plugins and the corresponding ionic-native classes. Now, it seems that by entering

npm i @ionic-native/camera

I get something called CameraOriginal instead of the Camera class which gives an error in app-module.ts.
Mac OS Catalina 10.15.3
Ionic 5/Angular 9
Nodejs 10.15.3
Cordova CLI 9.0.0
The same error occurs with all explicitly imported plugins.
First picture is of the ionic 5 app-module.ts, second of the same file in ionic 4 (error free).

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49247

Trending Articles



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