fix permission errors wrt ~/.npm being owned by root