error str.replace is not a function.
TypeError: str.replace is not a function
at inlineString (/Users/runner/work/react-native-template-new-architecture/react-native-template-new-architecture/node_modules/@react-native-community/cli-tools/build/errors.js:25:33)
at new CLIError (/Users/runner/work/react-native-template-new-architecture/react-native-template-new-architecture/node_modules/@react-native-community/cli-tools/build/errors.js:13:11)
at getProjectInfo (/Users/runner/work/react-native-template-new-architecture/react-native-template-new-architecture/node_modules/react-native/node_modules/@react-native-community/cli-platform-ios/build/tools/getProjectInfo.js:29:11)
at Object.runIOS [as func] (/Users/runner/work/react-native-template-new-architecture/react-native-template-new-architecture/node_modules/react-native/node_modules/@react-native-community/cli-platform-ios/build/commands/runIOS/index.js:82:58)
at Command.handleAction (/Users/runner/work/react-native-template-new-architecture/react-native-template-new-architecture/node_modules/react-native/node_modules/@react-native-community/cli/build/index.js:108:23)
at Command.listener [as _actionHandler] (/Users/runner/work/react-native-template-new-architecture/react-native-template-new-architecture/node_modules/react-native/node_modules/commander/lib/command.js:482:1[7](https://github.com/leotm/react-native-template-new-architecture/actions/runs/5812956541/job/15759481162#step:6:8))
at /Users/runner/work/react-native-template-new-architecture/react-native-template-new-architecture/node_modules/react-native/node_modules/commander/lib/command.js:1264:65
at Command._chainOrCall (/Users/runner/work/react-native-template-new-architecture/react-native-template-new-architecture/node_modules/react-native/node_modules/commander/lib/command.js:115[8](https://github.com/leotm/react-native-template-new-architecture/actions/runs/5812956541/job/15759481162#step:6:9):12)
at Command._parseCommand (/Users/runner/work/react-native-template-new-architecture/react-native-template-new-architecture/node_modules/react-native/node_modules/commander/lib/command.js:1264:27)
at /Users/runner/work/react-native-template-new-architecture/react-native-template-new-architecture/node_modules/react-native/node_modules/commander/lib/command.js:[10](https://github.com/leotm/react-native-template-new-architecture/actions/runs/5812956541/job/15759481162#step:6:11)62:27
info Run CLI with --verbose flag for more details.
Error: Process completed with exit code 1.
https://github.com/leotm/react-native-template-new-architecture/actions/runs/5812956541/job/15759481162
build-ios
Build app for Debug
similar to
check