fixed error on bower running with sudo