From 763a0440bb0684a070bf234a06c71efe349a9644 Mon Sep 17 00:00:00 2001 From: Dan Skinner Date: Mon, 6 Nov 2023 10:20:04 +0000 Subject: [PATCH] use --legacy-peer-deps to avoid auto install of peer deps --- scripts/react-native-helper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/react-native-helper.js b/scripts/react-native-helper.js index bad6179a1a..edfaed157f 100644 --- a/scripts/react-native-helper.js +++ b/scripts/react-native-helper.js @@ -35,7 +35,7 @@ module.exports = { common.run(`npm install --registry ${registryUrl}`, true) // Install notifier - const command = `npm install @bugsnag/react-native@${version} --registry ${registryUrl}` + const command = `npm install @bugsnag/react-native@${version} --registry ${registryUrl} --legacy-peer-deps` common.run(command, true) // Install any required secondary files