From c727f96560f63d891fb28bfe21628b110a87a587 Mon Sep 17 00:00:00 2001 From: Mhmdrz_a Date: Fri, 28 Jan 2022 19:09:26 +0330 Subject: [PATCH] Fix: broken npm install (#33767) Previous versions of react and next would mismatch and result in failing `npm i` ## Bug CRITIACAL bug: ![image](https://user-images.githubusercontent.com/23448421/151566047-29f630a7-2885-489b-aea2-c4e9a75599ee.png) --- examples/with-supertokens/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/with-supertokens/package.json b/examples/with-supertokens/package.json index 829c98de05ff7bb..62164f491c28bd7 100644 --- a/examples/with-supertokens/package.json +++ b/examples/with-supertokens/package.json @@ -7,8 +7,8 @@ }, "dependencies": { "next": "latest", - "react": "17.0.1", - "react-dom": "17.0.1", + "react": "^17.0.1", + "react-dom": "^17.0.1", "supertokens-auth-react": "^0.18.0", "supertokens-node": "^8.1.0" },