Because I have this error Node and NPM

0

I need help with this someone who can help me thanks: I have node -v 10 and npm -v 6

when trying to intalar angular-cli generates this error in the console I am using windows 10

  

17 error code E405 18 error 405 Method Not Allowed: angular-cli @ latest   19 verbose exit [1, true]

    
asked by José Romero 19.06.2018 в 01:41
source

1 answer

0

The way in which I solved the problem after an extensive search on the web, was looking at the local disk c globally this file .npmrc I proceeded to delete it and to finish the following steps:

  

npm uninstall -g angular-cli

     

npm uninstall -g @ angular / cli

     

npm cache clean -f

     

npm install -g angular-cli

     

npm install -g @ angular / cli

And I install everything correctly

    
answered by 19.06.2018 в 19:57