how to upgrade cypress code example
Example 1: update cypress
npm install --save-dev cypress@4.11.0 //replace the version that you want
//yarn
yarn upgrade cypress@4.11.0
Example 2: run cypress
./node_modules/.bin/cypress open
npm install --save-dev cypress@4.11.0 //replace the version that you want
//yarn
yarn upgrade cypress@4.11.0
./node_modules/.bin/cypress open