ionic plugin add cordova-plugin-camera
the cordova-plugin-camera is in the directory plugins
but when i refer to the doc of the camera api.
it should be in #@ionic-native/camera#.
then when i run:
npm install --save @ionic-native/camera
there is no camera under node_modules/@ionic-native
After 20 minutes from the washing room, i ran:
ionic plugin -rm cordova-plugin-camera -f
there is a camera folder under node_modules/@ionic-native.
why use -f ? if i am not use -f, it will remind me the cordova-plugin-file got some relationship with it.
THAT IS ALL.
the same happened to @ionic-native/file, i can’t use it after i force remove the cordova-plugin-file it is normal.