Yesterday when I went to open my ionic project the terminal asked to update, I gave yes and after that stopped working. I did not find the directory or something, searching the stack I saw a solution that said the problem was in ionic -g root returning node_modules from the users folder and not global. So the solution was to do the command npm config set prefix usr / local, I did that and it worsened now it no longer recognizes the ionic (bash: ionic: command not found) It seems that this usr / local was for mac or linux. How to reverse this? and what would be the npm config set prefix correct pro windows 10? Thanks!