mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	install-node: Fix leaking of $HOME.
This fixes a bug where provision was failing since our most recent upgrade to yarn/nvm/node. It turns out my original fix was the correct fix, but to the wrong third-party tool: nvm, not yarn, was the offender.
This commit is contained in:
		@@ -248,7 +248,7 @@ def main(options):
 | 
			
		||||
        print("No changes to apt dependencies, so skipping apt operations.")
 | 
			
		||||
 | 
			
		||||
    # Here we install node.
 | 
			
		||||
    run(["sudo", "scripts/lib/install-node"])
 | 
			
		||||
    run(["sudo", "-H", "scripts/lib/install-node"])
 | 
			
		||||
 | 
			
		||||
    # This is a wrapper around `yarn`, which we run last since
 | 
			
		||||
    # it can often fail due to network issues beyond our control.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user