Fixed npm install under www-data

By using `sudo -H` which reads from the /var/www directory as $HOME, just make sure it has the right perms.