update node version to v10.13
This commit is contained in:
		
							parent
							
								
									76ec7eb066
								
							
						
					
					
						commit
						ceddf444b0
					
				
							
								
								
									
										0
									
								
								bin/telebit.js
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										0
									
								
								bin/telebit.js
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							@ -133,8 +133,11 @@ my_tmp="$(mktemp -d -t telebit.XXXXXXXX)"
 | 
				
			|||||||
#TELEBIT_TMP="$my_tmp/telebit"
 | 
					#TELEBIT_TMP="$my_tmp/telebit"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo "Installing $my_name to '$TELEBIT_REAL_PATH'"
 | 
					echo "Installing $my_name to '$TELEBIT_REAL_PATH'"
 | 
				
			||||||
# v10.2+ has much needed networking fixes, but breaks ursa. v9.x has severe networking bugs. v8.x has working ursa, but requires tls workarounds"
 | 
					# v10.2+ has much needed networking fixes, but breaks ursa.
 | 
				
			||||||
NODEJS_VER="${NODEJS_VER:-v10.6}"
 | 
					# v9.x has severe networking bugs.
 | 
				
			||||||
 | 
					# v8.x has working ursa, but requires tls workarounds"
 | 
				
			||||||
 | 
					# v10.13 seems to work for me locally (new greenlock)
 | 
				
			||||||
 | 
					NODEJS_VER="${NODEJS_VER:-v10.13}"
 | 
				
			||||||
export NODEJS_VER
 | 
					export NODEJS_VER
 | 
				
			||||||
export NODE_PATH="$TELEBIT_TMP/lib/node_modules"
 | 
					export NODE_PATH="$TELEBIT_TMP/lib/node_modules"
 | 
				
			||||||
export NPM_CONFIG_PREFIX="$TELEBIT_TMP"
 | 
					export NPM_CONFIG_PREFIX="$TELEBIT_TMP"
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user