diff --git a/scripts/try-set-nightly-hermes-compiler.js b/scripts/try-set-nightly-hermes-compiler.js index ef931e4a6b9b..b9c2d2ebdcff 100644 --- a/scripts/try-set-nightly-hermes-compiler.js +++ b/scripts/try-set-nightly-hermes-compiler.js @@ -17,7 +17,7 @@ function main() { if (hermesCompilerVersion === '0.0.0') { console.log(`Hermes compiler version not set. Updating to the latest nightly release.`); - execSync('yarn workspace react-native add hermes-compiler@nightly --exact', { stdio: 'inherit' }); + execSync('yarn workspace react-native add hermes-compiler@latest-v1 --exact', { stdio: 'inherit' }); } else { console.log(`Hermes compiler version set to ${hermesCompilerVersion}. Not setting nightly hermes.`); }