# cordova-plugin-camera
Native: tried calling Camera.getPicture, but the Camera plugin is not installed. vendor.js:58632
Install the Camera plugin: 'ionic cordova plugin add cordova-plugin-camera' vendor.js:58638
plugin_not_installed
"@ionic-native/camera": "^4.5.2",
C:\Users\CI\Desktop\IonicConvention>ionic cordova plugin add cordova-plugin-camera
> cordova plugin add cordova-plugin-camera --save
Unmet project requirements for latest version of cordova-plugin-camera:
cordova (7.1.0 in project, >100 required)
Fetching highest version of cordova-plugin-camera that this project supports: 3.0.0 (latest is 4.0.0)
Installing "cordova-plugin-camera" for android
:\Users\CI\Desktop\IonicConvention>npm uninstall -save cordova-plugin-camera
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
C:\Users\CI\Desktop\IonicConvention>ionic cordova plugin add cordova-plugin-camera
C:\Users\CI\Desktop\IonicConvention>ionic cordova run android
// cordova 7.1.0 에서는 cordova-plugin-camera 4.x 는 지원하지 않음. 3.x로 설치해줘야 함
'Front-end dev > Angular || Ionic' 카테고리의 다른 글
memo) error (486) | 2020.01.07 |
---|---|
Angular 명령어 (558) | 2020.01.07 |
memo) Error (526) | 2020.01.06 |