{"id":111,"hash":"1f60fc0559d02c40a091100eae43af797bab0dd9ab20474568ee0947fa234dbf","pattern":"NPM Install Error:Unexpected end of JSON input while parsing near &#39;...nt-webpack-plugin&quot;:&quot;0&#39;","full_message":"When creating a new Angular 5 project:\n\nnode version: 8.9.2\n\nnpm version: 5.5.1\n\nMy Command is:\n\nnpm install -g @angular/cli\n\nThe Error is:\n\nnpm ERR! **Unexpected end of JSON input while parsing near '...nt-webpack-plugin\":\"0'**\nnpm ERR! A complete log of this run can be found in:\nnpm ERR!     C:\\Users\\Aashitec\\AppData\\Roaming\\npm-cache\\_logs\\2017-12-06T13_10_10_729Z-debug.log\n\nThe error log is here","ecosystem":"npm","package_name":"node.js","package_version":null,"solution":"This solved it for me:\n\nOpen Windows Powershell as admin\n\nnpm cache clean --force\nnpm install -g @angular/cli\n\nhttps://devblogs.microsoft.com/premier-developer/getting-started-with-node-js-angular-and-visual-studio-code/","confidence":0.95,"source":"stackoverflow","source_url":"https://stackoverflow.com/questions/47675478/npm-install-errorunexpected-end-of-json-input-while-parsing-near-nt-webpack","votes":406,"created_at":"2026-04-19T04:41:20.063870+00:00","updated_at":"2026-04-19T04:51:17.801447+00:00"}