mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 14:21:50 +00:00
wip
This commit is contained in:
parent
c8b55175dc
commit
d4cc592ff1
@ -19,6 +19,8 @@ nvm ls | grep "$NVM_TEST_VERSION" || die "Failed to install node"
|
|||||||
|
|
||||||
# Install global module as root
|
# Install global module as root
|
||||||
npm_path=$(which npm)
|
npm_path=$(which npm)
|
||||||
|
nvm_err "${PATH}"
|
||||||
|
PATH="${PATH}" sudo -n echo "${PATH}" || die 'sudo echo failed'
|
||||||
PATH="${PATH}" sudo -n "$npm_path" install jspm@'<2' -g || die 'either sudo failed, or `npm install jspm -g` failed`'
|
PATH="${PATH}" sudo -n "$npm_path" install jspm@'<2' -g || die 'either sudo failed, or `npm install jspm -g` failed`'
|
||||||
|
|
||||||
# Switch to another version so we can uninstall
|
# Switch to another version so we can uninstall
|
||||||
|
Loading…
Reference in New Issue
Block a user