update node version to v10.13

This commit is contained in:
AJ ONeal 2019-05-11 18:22:20 -06:00
parent 76ec7eb066
commit ceddf444b0
2 changed files with 5 additions and 2 deletions

0
bin/telebit.js Normal file → Executable file
View File

View 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"