Skip to content

Error Pulling from gitlab. #48

@emcfarlane

Description

@emcfarlane

Mirrored elm repos from github and redirecting to gitlab with:

dependency-sources": {
    "elm-lang/core": "https://repo.company.com/vendor/github.com_elm-lang_core",`
},

Fails with the following error:

elm-install --trace                                                                                                                                                                                                                              
Resolving packages...                                                                                                                                                                                                    
  ▶ Getting updates for: vendor/github.com_elm-lang_core                                                                                                                                                                                                                           
/Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/semverse-2.0.0/lib/semverse/version.rb:29:in `split': '' did not contain a valid version string: 'x.y.z' or 'x.y'. (Semverse::Invali
dVersionFormat)                                                                                                                                                                                                                                                                    
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/semverse-2.0.0/lib/semverse/version.rb:64:in `initialize'                                                              
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/elm_install-1.6.1/lib/elm_install/identifier.rb:45:in `new'                                                            
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/elm_install-1.6.1/lib/elm_install/identifier.rb:45:in `version'                                                        
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/contracts-0.16.0/lib/contracts/method_reference.rb:43:in `send_to'                                                     
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/contracts-0.16.0/lib/contracts/call_with.rb:79:in `call_with'                                                          
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/contracts-0.16.0/lib/contracts/method_handler.rb:138:in `block in redefine_method'                                     
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/elm_install-1.6.1/lib/elm_install/git_source.rb:105:in `versions'                                                      
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/contracts-0.16.0/lib/contracts/method_reference.rb:43:in `send_to'                                                     
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/contracts-0.16.0/lib/contracts/call_with.rb:79:in `call_with'                                                          
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/contracts-0.16.0/lib/contracts/method_handler.rb:138:in `block in redefine_method'                                     
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/elm_install-1.6.1/lib/elm_install/resolver.rb:45:in `resolve_dependency'                                               
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/contracts-0.16.0/lib/contracts/method_reference.rb:43:in `send_to'                                                     
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/contracts-0.16.0/lib/contracts/call_with.rb:79:in `call_with'                                                          
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/contracts-0.16.0/lib/contracts/method_handler.rb:138:in `block in redefine_method'                                     
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/elm_install-1.6.1/lib/elm_install/resolver.rb:75:in `block in resolve_dependencies'                                    
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/elm_install-1.6.1/lib/elm_install/resolver.rb:70:in `each'                                                             
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/elm_install-1.6.1/lib/elm_install/resolver.rb:70:in `resolve_dependencies'                                             
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/contracts-0.16.0/lib/contracts/method_reference.rb:43:in `send_to'                                                     
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/contracts-0.16.0/lib/contracts/call_with.rb:79:in `call_with'                                                          
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/contracts-0.16.0/lib/contracts/method_handler.rb:138:in `block in redefine_method'                                     
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/elm_install-1.6.1/lib/elm_install/resolver.rb:53:in `block in resolve_dependency'                                      
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/elm_install-1.6.1/lib/elm_install/resolver.rb:51:in `each'                                                             
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/elm_install-1.6.1/lib/elm_install/resolver.rb:51:in `resolve_dependency'                                               
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/contracts-0.16.0/lib/contracts/method_reference.rb:43:in `send_to'                                                     
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/contracts-0.16.0/lib/contracts/call_with.rb:79:in `call_with'                                                          
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/contracts-0.16.0/lib/contracts/method_handler.rb:138:in `block in redefine_method'                                     
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/elm_install-1.6.1/lib/elm_install/resolver.rb:28:in `block in resolve'                                                 
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/elm_install-1.6.1/lib/elm_install/resolver.rb:27:in `each'                                                             
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/elm_install-1.6.1/lib/elm_install/resolver.rb:27:in `resolve'                                                          
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/contracts-0.16.0/lib/contracts/method_reference.rb:43:in `send_to'                                                     
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/contracts-0.16.0/lib/contracts/call_with.rb:79:in `call_with'                                                          
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/contracts-0.16.0/lib/contracts/method_handler.rb:138:in `block in redefine_method'                                     
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/elm_install-1.6.1/lib/elm_install/installer.rb:25:in `install'                                                         
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/contracts-0.16.0/lib/contracts/method_reference.rb:43:in `send_to'                                                     
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/contracts-0.16.0/lib/contracts/call_with.rb:79:in `call_with'                                                          
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/contracts-0.16.0/lib/contracts/method_handler.rb:138:in `block in redefine_method'                                     
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/elm_install-1.6.1/lib/elm_install.rb:40:in `install'                                                                   
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/elm_install-1.6.1/bin/elm-install:20:in `block (2 levels) in <top (required)>'                                         
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/commander-4.4.3/lib/commander/command.rb:178:in `call'                                                                 
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/commander-4.4.3/lib/commander/command.rb:178:in `call'                                                                 
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/commander-4.4.3/lib/commander/command.rb:153:in `run'                                                                  
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/commander-4.4.3/lib/commander/runner.rb:446:in `run_active_command'                                                    
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/commander-4.4.3/lib/commander/runner.rb:68:in `run!'                                                                   
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/commander-4.4.3/lib/commander/delegates.rb:15:in `run!'                                                                
        from /Users/edwardmcfarlane/.config/yarn/global/node_modules/elm-github-install/scripts/dist-1.6.1/elm-install-1.6.1-osx/lib/vendor/ruby/2.2.0/gems/commander-4.4.3/lib/commander/import.rb:5:in `block in <top (required)>'    

Tags are maintained for the cloned repos. What could be causing this?

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions