Firstly, great plugin, exactly what I was looking for, thanks!
I'm having an issue where this plugin seems to affect many different cordova commands. For example, I just tried to remove another redundant plugin and got the following error:
Error: npm: Command failed with exit code 1 Error output:
npm ERR! code E404
npm ERR! 404 Not Found: cordova-plugin-mediaPicker@~1.0.2
npm ERR! A complete log of this run can be found in:
The plugin is installed and working fine, so I'm not sure why it says this. I have a feeling it may be something to do with the package name, which is called 'cordova-plugin-mediapicker' in some places and 'cordova-plugin-mediapicker-dmcbig' in others, or the fact it is Android only.
To reproduce in a new Cordova project:
cordova create test com.test.app Test
cordova plugin add cordova-plugin-mediapicker-dmcbig
cordova platform add ios
cordova platform remove ios
Notice the error at this point as follows:
Error: npm: Command failed with exit code 1 Error output:
npm ERR! code E404
npm ERR! 404 Not Found: cordova-plugin-mediaPicker@~1.0.2
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/blah/.npm/_logs/2017-09-01T12_32_58_557Z-debug.log
A Similar thing happens when removing other unrelated plugins. This has the effect of not completing whatever command results in this error being output, and having to do it by hand.
Also, to remove this plugin, a different plugin name has to be used, instead of the expected:
Firstly, great plugin, exactly what I was looking for, thanks!
I'm having an issue where this plugin seems to affect many different cordova commands. For example, I just tried to remove another redundant plugin and got the following error:
The plugin is installed and working fine, so I'm not sure why it says this. I have a feeling it may be something to do with the package name, which is called 'cordova-plugin-mediapicker' in some places and 'cordova-plugin-mediapicker-dmcbig' in others, or the fact it is Android only.
To reproduce in a new Cordova project:
Notice the error at this point as follows:
A Similar thing happens when removing other unrelated plugins. This has the effect of not completing whatever command results in this error being output, and having to do it by hand.
Also, to remove this plugin, a different plugin name has to be used, instead of the expected:
cordova plugin remove cordova-plugin-mediapicker-dmcbig
I have to use:
cordova plugin remove cordova-plugin-mediaPicker
Do you have any ideas what could be causing this?
Thanks