Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with fetch package mock on Windows #86

Open
waldemarstal opened this issue Jul 3, 2018 · 2 comments
Open

Problem with fetch package mock on Windows #86

waldemarstal opened this issue Jul 3, 2018 · 2 comments

Comments

@waldemarstal
Copy link

waldemarstal commented Jul 3, 2018

When I try to call

mix deps.get

I can't install dependency and I see an error:

Dependency resolution completed:                                    
  meck 0.8.10                                                       
  mock 0.3.1                                                        
* Updating mock (Hex package)                                       
  Checking package (https://repo.hex.pm/tarballs/mock-0.3.1.tar)    
  Fetched package                                                   
** (exit) an exception was raised:                                  
    ** (CaseClauseError) no case clause matching: {:error, :einval} 
        (stdlib) erl_tar.erl:598: :erl_tar.extract1/4               
        (stdlib) erl_tar.erl:571: :erl_tar.foldl_read1/4            
        (stdlib) erl_tar.erl:554: :erl_tar.foldl_read0/4            
        (stdlib) erl_tar.erl:546: :erl_tar.foldl_read/4             
        (hex) lib/hex/tar.ex:94: Hex.Tar.extract_contents/3         
        (hex) lib/hex/tar.ex:43: Hex.Tar.unpack/3                   
        (hex) lib/hex/scm.ex:110: Hex.SCM.checkout/1                
        (mix) lib/mix/dep/fetcher.ex:61: Mix.Dep.Fetcher.do_fetch/3 
    (stdlib) erl_tar.erl:556: :erl_tar.foldl_read0/4                
    (stdlib) erl_tar.erl:546: :erl_tar.foldl_read/4                 
    (hex) lib/hex/tar.ex:94: Hex.Tar.extract_contents/3             
    (hex) lib/hex/tar.ex:43: Hex.Tar.unpack/3                       
    (hex) lib/hex/scm.ex:110: Hex.SCM.checkout/1                    
    (mix) lib/mix/dep/fetcher.ex:61: Mix.Dep.Fetcher.do_fetch/3     
    (mix) lib/mix/dep/converger.ex:177: Mix.Dep.Converger.all/9     
    (mix) lib/mix/dep/converger.ex:186: Mix.Dep.Converger.all/9```
@Olshansk
Copy link
Collaborator

Did you ever resolve this issue?

@eteeselink
Copy link

FWIW I'm on Windows too and I did not have this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants