npm WARN ERESOLVE overriding peer dependency
npm WARN Found: [email protected]
npm WARN node_modules/@ivan/data-insights/node_modules/bootstrap
npm WARN bootstrap@"^3.3.7" from @ivan/[email protected]
npm WARN node_modules/@ivan/data-insights
npm WARN @ivan/data-insights@"1.7.26" from the root project
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer bootstrap@"^4.3.1" from [email protected]
npm WARN node_modules/@ivan/data-insights/node_modules/bootstrap-switch
npm WARN bootstrap-switch@"^3.4.0" from @ivan/[email protected]
npm WARN node_modules/@ivan/data-insights
npm ERR! code FETCH_ERROR
npm ERR! errno FETCH_ERROR
npm ERR! invalid json response body at http://registry.npmjs.org/@babel%2fparser reason: Unexpected token d in JSON at position 103148
0
votes
2 Answers
0
votes
0
votes
I have already resolved this issue in the following way:
npm cache clean --force
and
npm cache verify
then
npm i npm@latest -g
and finally, I was able to run
npm i
The similar question was there: npm ERR! Unexpected end of JSON input while parsing near '...registry.npmjs.org/@i'
npm cache clean --forceandnpm cache verifythennpm i npm@latest -gand finally, I successfully rannpm i- Ivan Kharkovsky