title: While update npm install npm@latest -g getting Error?
body: <p>While update npm with latest version getting some error and warring </p>
  
  <p>c:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\External>npm cache clean --force
  npm WARN using --force I sure hope you know what you are doing.</p>
  
  <p>c:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\External>npm install npm@latest -g</p>
  
  <p>npm http GET <a href="https://registry.npmjs.org/npm" rel="nofollow noreferrer">https://registry.npmjs.org/npm</a></p>
  
  <p>npm http 200 <a href="https://registry.npmjs.org/npm" rel="nofollow noreferrer">https://registry.npmjs.org/npm</a></p>
  
  <p>npm http GET <a href="https://registry.npmjs.org/npm/-/npm-6.5.0.tgz" rel="nofollow noreferrer">https://registry.npmjs.org/npm/-/npm-6.5.0.tgz</a></p>
  
  <p>npm http 200 <a href="https://registry.npmjs.org/npm/-/npm-6.5.0.tgz" rel="nofollow noreferrer">https://registry.npmjs.org/npm/-/npm-6.5.0.tgz</a></p>
  
  <p>npm WARN package.json path-is-inside@1.0.2 No README data</p>
  
  <p>npm WARN package.json sorted-object@2.0.1 No README data</p>
  
  <p>npm WARN package.json punycode@1.4.1 punycode is also the name of a node core module.</p>
  
  <p>npm WARN package.json string_decoder@1.1.1 string_decoder is also the name of a node core module.</p>
  
  <p>c:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\External\node\npx -> c:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\External\node\node_modules\npm\bin\npx-cli.js</p>
  
  <p>c:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\External\node\npm -> c:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\External\node\node_modules\npm\bin\npm-cli.js</p>
  
  <p>npm@6.5.0 c:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\External\node\node_modules\npm</p>
  
  <p><strong>Help me for update this mnp version. Due this i'm unable to restore package.json
  getting 
  Error</strong></p>
  
  <p>npm ERR! Error: Method Not Allowed</p>
  
  <p>npm ERR! at errorResponse (C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\External\npm\node_modules\npm\lib\cache.js:753:14)
  npm ERR! at C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\External\npm\node_modules\npm\lib\cache.js:773:12</p>
  
  <p>npm ERR! at saved (C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\External\npm\node_modules\npm-registry-client\lib\get.js:148:7)</p>
  
  <p>npm ERR! at C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\External\npm\node_modules\graceful-fs\polyfills.js:133:7</p>
  
  <p>npm ERR! at Object.oncomplete (fs.js:107:15)</p>
  
  <p>npm ERR! If you need help, you may report this entire log,</p>
  
  <p>npm ERR! including the npm and node versions, at:</p>
  
  <p>npm ERR! <a href="http://github.com/npm/npm/issues" rel="nofollow noreferrer">http://github.com/npm/npm/issues</a></p>
  
  <p>npm ERR! System Windows_NT 6.2.9200</p>
  
  <p>npm ERR! command "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\External\node\node" "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\External\npm\node_modules\npm\bin\npm-cli.js" "install"</p>
  
  <p>npm ERR! cwd C:\Users\VIKAS\documents\visual studio </p>
  
  <p>2015\Projects\Angular2\Angular2</p>
  
  <p>npm ERR! node -v v0.10.31</p>
  
  <p>npm ERR! npm -v 1.4.9</p>
  
  <p>npm ERR! code E405  </p>