diff --git a/_examples/chat/package.json b/_examples/chat/package.json
index 56d9618e61e..421a9902aef 100644
--- a/_examples/chat/package.json
+++ b/_examples/chat/package.json
@@ -10,7 +10,7 @@
     "graphql-ws": "^5.8.1",
     "react": "^16.6.3",
     "react-dom": "^16.6.3",
-    "react-scripts": "^2.1.1",
+    "react-scripts": "^5.0.0",
     "styled-components": "^5.2.0",
     "subscriptions-transport-ws": "^0.9.5"
   },