Use lib instead of modules for certain scripts that assume ../lib from the /bin folder.
parent
d67c7011f4
commit
2527ff6b1f
2
nvm.sh
2
nvm.sh
|
@ -120,7 +120,7 @@ nvm()
|
||||||
PATH="$NVM_DIR/$2/bin:$PATH"
|
PATH="$NVM_DIR/$2/bin:$PATH"
|
||||||
fi
|
fi
|
||||||
export PATH
|
export PATH
|
||||||
export NODE_PATH="$NVM_DIR/$2/modules"
|
export NODE_PATH="$NVM_DIR/$2/lib"
|
||||||
export NODE_BIN="$NVM_DIR/$2/bin"
|
export NODE_BIN="$NVM_DIR/$2/bin"
|
||||||
mkdir -p "$NODE_PATH"
|
mkdir -p "$NODE_PATH"
|
||||||
mkdir -p "$NODE_BIN"
|
mkdir -p "$NODE_BIN"
|
||||||
|
|
Loading…
Reference in New Issue