leotm / react-native-template-new-architecture

React Native 0.71.12 โšก M1, Ubuntu ๐Ÿ’ป Hermes โš™๏ธ Fabric ๐Ÿš… Turbo Modules ๐Ÿ’จ TypeScript 5 โœ… Gradle 7.6, JDK 19, NDK 25 ๐ŸŽ Xcode 15b, Sonoma 14b, Ruby 3 ๐Ÿ’Ž Bison 2.3 ๐Ÿฆฌ ccache โ™ป๏ธ Yarn 4rc ๐Ÿ“ฆ ESLint ๐Ÿงน Prettier โœจ SES, LavaMoat, Buck2 ๐Ÿšง Babel ๐Ÿ—ผ GitHub Actions โœ”๏ธ Node 19 โฌข Storybook 6.5rc ๐Ÿ““ libs ๐Ÿ“š for curious early adopters :suspect: #RNEU #APPJS
https://reactnative.dev/blog/2022/06/16/resources-migrating-your-react-native-library-to-the-new-architecture#migration-status-of-popular-libraries
239 stars 29 forks source link

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

Closed leotm closed 1 year ago

leotm commented 1 year ago

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