fixed requirejs adapter error and grunt server error