error logging; updated npm;