tmp dir maybe?
echo $USER
# Avoid some permissions error on builds
-mkdir $PREFIX/.npm-cache
+mkdir /tmp/.npm-cache
npm config set prefix $PREFIX -g
-npm config set cache $PREFIX/.npm-cache -g
+npm config set cache /tmp/.npm-cache -g
npm cache clean
npm install -g .
