Could you try npm install -g serialport? Alternatively, this has worked nicely for me in the past, you could give it a try:
npm install -g serialport