I am not using any “package.lock.json”
trying to install angular
here is the result of npm clear cache --force
G:>npm clear cache --force
npm WARN using --force I sure hope you know what you are doing.
Usage: npm
where is one of:
access, adduser, audit, bin, bugs, c, cache, ci, cit,
clean-install, clean-install-test, completion, config,
create, ddp, dedupe, deprecate, dist-tag, docs, doctor,
edit, explore, fund, get, help, help-search, hook, i, init,
install, install-ci-test, install-test, it, link, list, ln,
login, logout, ls, org, outdated, owner, pack, ping, prefix,
profile, prune, publish, rb, rebuild, repo, restart, root,
run, run-script, s, se, search, set, shrinkwrap, star,
stars, start, stop, t, team, test, token, tst, un,
uninstall, unpublish, unstar, up, update, v, version, view,
whoami
npm -h quick help on
npm -l display full usage info
npm help search for help on
npm help npm involved overview
Specify configs in the ini-formatted file:
C:\Users\AB.npmrc
or on the command line via: npm --key value
Config info can be viewed via: npm help config
npm@6.14.2 C:\Users\AB\AppData\Roaming\npm\node_modules\npm
G:>npm install -g @angular/cli@latest
npm ERR! Unexpected end of JSON input while parsing near ‘…“console-group”:"^0.3’
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\AB\AppData\Roaming\npm-cache_logs\2020-03-12T18_41_12_395Z-debug.log