npm install --save-dev cypress@4.11.0 //replace the version that you want //yarn yarn upgrade cypress@4.11.0
npm install --save-dev cypress@6.4