isaacs/npm — pull request #2055 by paulbaumgart (2012-01-19 02:37:54+00:00)
Title: Fix for #1672

I was experiencing the same issue as described here: https://github.com/isaacs/npm/issues/1672

I tracked it down to a problem with chmod when passing in a numerical group id. Probably a vmware fusion bug.

Do you know if anything else will ever generate an er.code of UNKNOWN? If not, this is a safe patch to apply. If yes, I will try and figure out a better condition to check.