Do try_sudo for `npm install`

Because if an user is using `sudo`, npm:install will run
`sudo cd ... && npm ...`, and fails.
Merge pull request #1 from sorah/correct_try_sudo

Do try_sudo for `npm install`, not `cd`