POD's setup for React.Native-IOS

Description

POD’s do not install when executing through npx pod-install in mac terminal, seems that it was not able to locate the react_native_pods, anyone has any idea what causes the problem, below are execution result.

Server Setup Information

  • Version of Rocket.Chat Server: -
  • Operating System: MacOS Sonoma
  • Deployment Method: React.Native
  • Number of Running Instances: -
  • DB Replicaset Oplog: -
  • NodeJS Version: 20.9.0
  • MongoDB Version: -
  • Proxy:
  • Firewalls involved:

Any additional Information

ios % npx pod-install
Scanning for pods…
1.14.3

pod install

[!] Invalid Podfile file: cannot load such file – /Users/alainbibera/Documents/RocketChat/Rocket.Chat.ReactNative/node_modules/react-native/scripts/react_native_pods.

from /Users/alainbibera/Documents/RocketChat/Rocket.Chat.ReactNative/ios/Podfile:1

-------------------------------------------

require_relative ‘…/node_modules/react-native/scripts/react_native_pods’

require_relative ‘…/node_modules/@react-native-community/cli-platform-ios/native_modules’

-------------------------------------------

Couldn’t install Pods. Updating the Pods project and trying again…

pod install --repo-update

[!] Invalid Podfile file: cannot load such file – /Users/alainbibera/Documents/RocketChat/Rocket.Chat.ReactNative/node_modules/react-native/scripts/react_native_pods.

from /Users/alainbibera/Documents/RocketChat/Rocket.Chat.ReactNative/ios/Podfile:1

-------------------------------------------

require_relative ‘…/node_modules/react-native/scripts/react_native_pods’

require_relative ‘…/node_modules/@react-native-community/cli-platform-ios/native_modules’

-------------------------------------------

Couldn’t install Pods. Updating the Pods project and trying again…
Command pod install failed.
└─ Cause: Invalid Podfile file: cannot load such file – /Users/alainbibera/Documents/RocketChat/Rocket.Chat.ReactNative/node_modules/react-native/scripts/react_native_pods.

from /Users/…/Documents/RocketChat/Rocket.Chat.ReactNative/ios/Podfile:1

-------------------------------------------

require_relative ‘…/node_modules/react-native/scripts/react_native_pods’

require_relative ‘…/node_modules/@react-native-community/cli-platform-ios/native_modules’

-------------------------------------------