I just downloaded node but npm is not working. whenever I use a npm comman I get Error: cannot find module \'strip-ansi\'.
Solved by doing npm cache clean and then npm install
npm cache clean
npm install