create-react-app upgrade code example
Example 1: create react app install
RUN IN CMD
npm install -g create-react-app
Example 2: remove create-react-app globally
npm uninstall -g create-react-app OR yarn global remove create-react-app
RUN IN CMD
npm install -g create-react-app
npm uninstall -g create-react-app OR yarn global remove create-react-app