When I try npm install new packages it shows me this error:
npm install
rollbackFailedOptional: verb npm-session 585aaecfe5f9a82
Mine was due to McAfee firewall. It is set to Ask mode, so should have popped up a prompt to ask for internet connection, but it didn't! Going into McAfee and (temporarily!) disabling the firewall allowed me to install.