From e97ef8f1fb515754ffce815ee20f36b7cb3df2ef Mon Sep 17 00:00:00 2001 From: Andrew Datsenko Date: Thu, 18 Sep 2025 07:39:22 -0700 Subject: [PATCH] Fix dotslash issue in OD (#53842) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/53842 Changelog: [Internal] There is a conflict between dotslash in node_modules and in OD it does not invoke buck2 Reviewed By: javache Differential Revision: D82724326 fbshipit-source-id: c90cab58818e0245f8763b729c7e5432735eb05e --- private/react-native-fantom/runner/utils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/private/react-native-fantom/runner/utils.js b/private/react-native-fantom/runner/utils.js index 124b53d5358..25cdb319bcf 100644 --- a/private/react-native-fantom/runner/utils.js +++ b/private/react-native-fantom/runner/utils.js @@ -146,7 +146,7 @@ export function runCommand( encoding: 'utf8', env: { ...process.env, - PATH: `/usr/local/bin:${process.env.PATH ?? ''}`, + PATH: `/usr/local/bin:/usr/bin:${process.env.PATH ?? ''}`, }, }, ); @@ -186,7 +186,7 @@ export function runCommandSync( encoding: 'utf8', env: { ...process.env, - PATH: `/usr/local/bin:${process.env.PATH ?? ''}`, + PATH: `/usr/local/bin:/usr/bin:${process.env.PATH ?? ''}`, }, });