diff --git a/examples/using-gatsby-without-graphql/package.json b/examples/using-gatsby-without-graphql/package.json
old mode 100755
new mode 100644
index 75b0b134035e0..46dd56f18494f
--- a/examples/using-gatsby-without-graphql/package.json
+++ b/examples/using-gatsby-without-graphql/package.json
@@ -10,7 +10,7 @@
   },
   "dependencies": {
     "axios": "^0.19.0",
-    "gatsby": "^2.0.0",
+    "gatsby": "^4.22.0",
     "react": "^16.5.1",
     "react-dom": "^16.5.1"
   },