CN can't postinstall via yarn add
              
              #2251
            
            
          -
| error /usr/local/share/.config/yarn/global/node_modules/code-server: Command failed. | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            code-asher
          
      
      
        Nov 2, 2020 
      
    
    Replies: 1 comment 1 reply
-
| It looks like some kind of network issue. Maybe the cloud agent is failing to download? We should catch the error so it won't fail the install. | 
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
      Answer selected by
        code-asher
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
It looks like some kind of network issue. Maybe the cloud agent is failing to download?
https://github.com/cdr/code-server/blob/62735da69466a444561ab9b1115dc7c4d496d455/ci/build/npm-postinstall.sh#L27-L29
We should catch the error so it won't fail the install.