Commit 102ee715 authored by nimrod's avatar nimrod
Browse files

Set Node's Corepack home.

Otherwise, when installed globally it tries to use the directory where
it was installed (usually only writeable by root) and fails.
parent 929d4523
Loading
Loading
Loading
Loading
+1
Changes for .bashrc.d/nodejs: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -2,5 +2,6 @@
# vim: ft=sh

export COREPACK_ENABLE_AUTO_PIN=0
export COREPACK_HOME="$HOME/.cache/node/corepack"
export NODE_PENDING_DEPRECATION='1'
export NPM_CONFIG_USERCONFIG="$HOME/.config/npmrc"