commit
ab16d34012
|
@ -124,7 +124,7 @@ If you try to install a node version and the installation fails, be sure to dele
|
|||
|
||||
Where's my 'sudo node'? Checkout this link:
|
||||
|
||||
https://github.com/creationix/nvm/issues/43
|
||||
https://github.com/creationix/nvm/issues/43
|
||||
|
||||
on Arch Linux and other systems using python3 by default, before running *install* you need to
|
||||
|
||||
|
|
4
nvm.sh
4
nvm.sh
|
@ -215,7 +215,7 @@ nvm()
|
|||
[ ! -z $tarball ] && \
|
||||
mkdir -p "$NVM_DIR/src" && \
|
||||
cd "$NVM_DIR/src" && \
|
||||
curl -C - --progress-bar $tarball -o "node-$VERSION.tar.gz" && \
|
||||
curl --progress-bar $tarball -o "node-$VERSION.tar.gz" && \
|
||||
tar -xzf "node-$VERSION.tar.gz" && \
|
||||
cd "node-$VERSION" && \
|
||||
./configure --prefix="$NVM_DIR/$VERSION" $ADDITIONAL_PARAMETERS && \
|
||||
|
@ -406,4 +406,4 @@ nvm()
|
|||
esac
|
||||
}
|
||||
|
||||
nvm ls default >/dev/null 2>&1 && nvm use default >/dev/null
|
||||
nvm ls default &>/dev/null && nvm use default >/dev/null || true
|
||||
|
|
Loading…
Reference in New Issue