Create new or v79 react native project:
npx @react-native-community/cli init projectName
Run
npx gluestack-ui init
Failure to build after initialization and adding components files are empty.
error Unable to resolve module react-dom from /projects/myproject/node_modules/@react-aria/utils/dist/animation.mjs: react-dom could not be found within the project or in these directories:
error Module does not exist in the Haste module map or in these directories:
error Failed to build ios project. "xcodebuild" exited with error code '65'.