Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] TypeError: str.replace is not a function (macos-12) #1757

Closed
leotm opened this issue Aug 10, 2023 · 0 comments · Fixed by #1713
Closed

[CI] TypeError: str.replace is not a function (macos-12) #1757

leotm opened this issue Aug 10, 2023 · 0 comments · Fixed by #1713
Labels
build time Compile time ci GitHub Actions workflow - Bundling / Building / Compiling / Integrating / Testing ios Native iOS changes (Swift, C++, CocoaPods) macOS priority: high

Comments

@leotm
Copy link
Owner

leotm commented Aug 10, 2023

https://github.com/leotm/react-native-template-new-architecture/actions/runs/5812956541/job/15759481162

build-ios

Build app for Debug

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.

similar to

check

@leotm leotm added ios Native iOS changes (Swift, C++, CocoaPods) ci GitHub Actions workflow - Bundling / Building / Compiling / Integrating / Testing macOS priority: high build time Compile time labels Aug 10, 2023
@leotm leotm added this to the React Native 0.71 milestone Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build time Compile time ci GitHub Actions workflow - Bundling / Building / Compiling / Integrating / Testing ios Native iOS changes (Swift, C++, CocoaPods) macOS priority: high
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant