parent
82e6ace060
commit
62bc523d03
|
@ -83,7 +83,7 @@ echo "Latest node.js $BASE_VER is $NODEJS_VER"
|
||||||
|
|
||||||
Just set BOTH `NODE_PATH` and `NPM_CONFIG_PREFIX`.
|
Just set BOTH `NODE_PATH` and `NPM_CONFIG_PREFIX`.
|
||||||
The install path will be the preceding `lib/node_modules`
|
The install path will be the preceding `lib/node_modules`
|
||||||
(which you usually want to be the same as `NPM_CONFIG_PREFIIX` anyway).
|
(which you usually want to be the same as `NPM_CONFIG_PREFIX` anyway).
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
export NPM_CONFIG_PREFIX=/tmp/user/local
|
export NPM_CONFIG_PREFIX=/tmp/user/local
|
||||||
|
|
Loading…
Reference in New Issue