react-native-opencv3-tests icon indicating copy to clipboard operation
react-native-opencv3-tests copied to clipboard

Error installing libopencv-contrib

Open Al0nnso opened this issue 4 years ago • 2 comments

Hi, im recieving this error when I run pod install

[!] Error installing libopencv-contrib
[!] /usr/bin/unzip /var/folders/hj/5y2w85bn64n0t7mmzcc9rtbc0000gn/T/d20200815-25128-1yye817/file.zip -d /var/folders/hj/5y2w85bn64n0t7mmzcc9rtbc0000gn/T/d20200815-25128-1yye817

Archive:  /var/folders/hj/5y2w85bn64n0t7mmzcc9rtbc0000gn/T/d20200815-25128-1yye817/file.zip
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of /var/folders/hj/5y2w85bn64n0t7mmzcc9rtbc0000gn/T/d20200815-25128-1yye817/file.zip or
        /var/folders/hj/5y2w85bn64n0t7mmzcc9rtbc0000gn/T/d20200815-25128-1yye817/file.zip.zip, and cannot find /var/folders/hj/5y2w85bn64n0t7mmzcc9rtbc0000gn/T/d20200815-25128-1yye817/file.zip.ZIP, period.

Al0nnso avatar Aug 15 '20 17:08 Al0nnso

Hi @Al0nnso I am really not sure I just ran pod install from scratch myself in SimpleGreyscale and it reported:

Pod installation complete! There are 23 dependencies from the Podfile and 25 total pods installed.

Did you run npm install from the root directory first? It could be that it takes some time for the zip file to download over the internet and you may have to wait until it completely downloads but I do not really know. I made you a contributor so if you can get to the bottom of it please check in whatever the fix is and I will update to a new code release.

Sorry I couldn't help further but it is difficult for me to determine what the issues are. -- Adam

adamgf avatar Sep 09 '20 22:09 adamgf

I have the same issue. Still haven't figured out how to deal with this. Could it be because I'm using yarn instead of npm ?

akashpalrecha avatar Feb 01 '21 06:02 akashpalrecha