countries icon indicating copy to clipboard operation
countries copied to clipboard

Windows Reserved File Name

Open smartinec opened this issue 7 years ago • 0 comments

Cannot checkout this repo on Windows because this file uses a reserved word: src/data/states/nul.json

Here is the full status log when trying "composer install" on Vagrant box with Windows host:

  - Installing pragmarx/countries (v0.1.0): Downloading (connecting...)Downloading (100%)         
    Failed to download pragmarx/countries from dist: Could not delete /vagrant/platform/vendor/pragmarx/countries/493f0c91fc8d34dc6039ba82c91f51e3: 
    Now trying to download from source
  - Installing pragmarx/countries (v0.1.0): Cloning f190ff8132
    f190ff8132208dd22655ccb3bb5f9a2e31a3872e is gone (history was rewritten?)

                                                                                                                                                  
  [RuntimeException]                                                                                                                              
  Failed to execute git checkout 'f190ff8132208dd22655ccb3bb5f9a2e31a3872e' -- && git reset --hard 'f190ff8132208dd22655ccb3bb5f9a2e31a3872e' --  
  HEAD is now at f190ff8... Reorder items                                                                                                         
  error: git checkout-index: unable to create file src/data/states/nul.json (Protocol error)                                                      
  fatal: Could not reset index file to revision 'f190ff8132208dd22655ccb3bb5f9a2e31a3872e'.

smartinec avatar Jun 19 '17 15:06 smartinec