Telerik-Verified-Plugins / ImagePicker

Cordova Plugin For Multiple Image Selection
MIT License
182 stars 331 forks source link

Failed to plugin this ImagePicker #57

Open kirk00574 opened 7 years ago

kirk00574 commented 7 years ago

I'm try to use this plugin, but after I follow instruction install the plugin, this error come out:

Error: Failed to fetch plugin https://github.com/Telerik-Verified-Plugins/ImagePicker.git via registry. Probably this is either a connection problem, or plugin spec is incorrect. Check your connection and plugin name/version/URL. Error: npm: Command failed with exit code 235 Error output: npm ERR! addLocal Could not install /tmp/npm-43275-57a90394/git-cache-aa97fcb4/1d453300ae3dacb007a404fd59536afcb67ab286 npm ERR! Darwin 16.0.0 npm ERR! argv "/usr/local/Cellar/node/7.9.0/bin/node" "/usr/local/bin/npm" "install" "https://github.com/Telerik-Verified-Plugins/ImagePicker.git" "--save" npm ERR! node v6.9.1 npm ERR! npm v3.10.8 npm ERR! code EISDIR npm ERR! errno -21 npm ERR! syscall read

npm ERR! eisdir EISDIR: illegal operation on a directory, read npm ERR! eisdir This is most likely not a problem with npm itself npm ERR! eisdir and is related to npm not being able to find a package.json in npm ERR! eisdir a package you are trying to install.

npm ERR! Please include the following file with any support request: npm ERR! /Users/haoxiangli/develop/pmtoolbelt/pmtoolbelt_maintain_mobile/node_modules/npm-debug.log

Did I miss something? what should I do to set up this thing?

arihantdaga commented 7 years ago

Facing the same here..

darkbasic commented 7 years ago

https://github.com/Telerik-Verified-Plugins/ImagePicker/issues/55

arihantdaga commented 7 years ago

@darkbasic Thank you.

spencer1573 commented 7 years ago

did somebody submit a package.json for this in a pull request?

arihantdaga commented 7 years ago

@darkbasic . I could install the plugin after you added package.json, but now i am facing issue that its not building for android because of this plugin. I am using latest ionic and cordova. Can u help me with this..

darkbasic commented 7 years ago

Yes, use my own fork: https://github.com/darkbasic/ImagePicker

emmanuelrar commented 7 years ago

Same proble. @darkbasic 's fork didn't work for me.

darkbasic commented 7 years ago

Did you use git+https://github.com/darkbasic/ImagePicker.git? ionic cordova plugin add git+https://github.com/darkbasic/ImagePicker.git --save works for me: https://angular-meteor.com/tutorials/whatsapp2/ionic/file-upload

arihantdaga commented 7 years ago

@emmanuelrar . Seems like there is another issue, its due to ImagePicker's plugin's pinned appcompat version. Its an open issue Telerik-Verified-Plugins/ImagePicker/issues/51. I was having the same problem, but now i have resolved that.. you can use my own fork of the library. Arihant Daga