When I try npm install new packages it shows me this error:
npm install
rollbackFailedOptional: verb npm-session 585aaecfe5f9a82
# first this > npm config rm proxy > npm config rm https-proxy # then this > npm config set registry https://registry.npmjs.org/
solved my problem.
Again: Be sure to check whether you have internet connected properly.