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

Cannot find module '@ionic-native/Camera/ngx

$
0
0

Hi guys, I’ve been reading alot of forum posts regarding my problem but to no avail. I have a running app on my Windows 10 pc, but when I try to clone it to my Ubuntu 20.04 laptop, it won’t run and it will return 'app.module.ts error TS2307: Cannot find module ‘@ionic-native/Camera/ngx’.

I’m using ionic framework @ionic/angular 4.6.2 and my @angular/cli is 7.3.9. In my package.json I have @ionic-native/core ^5.0.0 and @ionic/camera ^5.19.1 dependencies.

My import for the camera is this : import { Camera } from ‘@ionic-native/Camera/ngx’

I’m new to Ubuntu and to ionic and angular as well, but this works fine in my Windows 10 pc so I really don’t know what it is I’m missing. Thanks in advance.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 70435

Trending Articles



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