When I was trying to create a new react app using npx create-react-app example_app, I get this error
npx create-react-app example_app
[Your cache folder contains root-owned
Try sudo chown -R 1000:1000 "/home/shubham/.npm"
sudo chown -R 1000:1000 "/home/shubham/.npm"