Vue-cli fails installation with version error for "requests" module

I’m trying to install vue-cli on my Macbook and here is error that I’m getting:

My version of npm:
M230995L9JG5J:~ siddharth_godbole$ npm version
{ npm: ‘6.14.2’,
ares: ‘1.15.0’,
brotli: ‘1.0.7’,
cldr: ‘35.1’,
http_parser: ‘2.8.0’,
icu: ‘64.2’,
modules: ‘64’,
napi: ‘4’,
nghttp2: ‘1.34.0’,
node: ‘10.16.1’,
openssl: ‘1.1.1c’,
tz: ‘2019a’,
unicode: ‘12.1’,
uv: ‘1.28.0’,
v8: ‘’,
zlib: ‘1.2.11’ }

My version of node:
M230995L9JG5J:~ siddharth_godbole$ node -v

M230995L9JG5J:~ siddharth_godbole$ npm install -g @vue/cli
npm WARN deprecated request@2.88.2: request has been deprecated, see
npm ERR! Unexpected end of JSON input while parsing near ‘…">=0.8.6 <=0.11.7"},"’

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/Siddharth_Godbole/.npm/_logs/2020-03-19T13_59_40_869Z-debug.log

Debug log fragments:
554 verbose stack SyntaxError: Unexpected end of JSON input while parsing near ‘…">=0.8.6 <=0.11.7"},"’
554 verbose stack at JSON.parse ()
554 verbose stack at parseJson (/usr/local/lib/node_modules/npm/node_modules/json-parse-better-errors/index.js:7:17)
554 verbose stack at (/usr/local/lib/node_modules/npm/node_modules/node-fetch-npm/src/body.js:96:50)
554 verbose stack at process._tickCallback (internal/process/next_tick.js:68:7)
555 verbose cwd /Users/Siddharth_Godbole
556 verbose Darwin 18.7.0
557 verbose argv “/usr/local/bin/node” “/usr/local/bin/npm” “install” “-g” “@vue/cli”
558 verbose node v10.16.1
559 verbose npm v6.14.2
560 error Unexpected end of JSON input while parsing near ‘…">=0.8.6 <=0.11.7"},"’
561 verbose exit [ 1, true ]

Can someone help me figure out what issue is?

Seems like issue was with default node / npm that ships with MacBook. Removed default installation and installed latest Node and NPM. Vue cli installation worked just fine on that.