Last active
          June 5, 2025 18:38 
        
      - 
      
- 
        Save cancerberoSgx/1892ada276992f78f488a43b3a430c9b to your computer and use it in GitHub Desktop. 
    remove node_modules and package-lock.json recursively
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | find . -name "node_modules" -exec rm -rf '{}' +; find . -name "package-lock.json" -exec rm -rf '{}' +; | 
Thank you!
Gracias
Can confirm this works 🙂 Thanks for sharing!
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
Good snippet brother. Thanks for sharing.