IMHO, I got building problems every time I had nodejs update. I've replaced "time" to "moment" and now I have no problems... https://www.npmjs.com/package/moment