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

chore: use @react-native-community/cli@14.0.0 to build 0.74.x app #184

Closed
wants to merge 1 commit into from

Conversation

trivikr
Copy link
Contributor

@trivikr trivikr commented Jul 19, 2024

Issue #, if available:

Description of changes:
Uses @react-native-community/cli@14.0.0 to re-create app with react-native@0.74.x

@trivikr
Copy link
Contributor Author

trivikr commented Jul 19, 2024

Blocked as react-native CLI does not have an option of creating a JavaScript project

react-native-community/cli#2291

@trivikr
Copy link
Contributor Author

trivikr commented Jul 19, 2024

Blocked on detection of @babel/runtime dependency

error: Error: Unable to resolve module @babel/runtime/helpers/interopRequireDefault from /Users/trivikr/workspace/aws-sdk-js-tests/packages/react-native/index.js: @babel/runtime/helpers/interopRequireDefault could not be found within the project or in these directories:
  node_modules
  ../../node_modules
> 1 | /**
    | ^
  2 |  * @format
  3 |  */
  4 |
    at ModuleResolver.resolveDependency (/Users/trivikr/workspace/aws-sdk-js-tests/node_modules/metro/src/node-haste/DependencyGraph/ModuleResolution.js:138:15)
    at DependencyGraph.resolveDependency (/Users/trivikr/workspace/aws-sdk-js-tests/node_modules/metro/src/node-haste/DependencyGraph.js:231:43)
    at /Users/trivikr/workspace/aws-sdk-js-tests/node_modules/metro/src/lib/transformHelpers.js:156:21
    at resolveDependencies (/Users/trivikr/workspace/aws-sdk-js-tests/node_modules/metro/src/DeltaBundler/buildSubgraph.js:42:25)
    at visit (/Users/trivikr/workspace/aws-sdk-js-tests/node_modules/metro/src/DeltaBundler/buildSubgraph.js:83:30)
    at async Promise.all (index 0)
    at async buildSubgraph (/Users/trivikr/workspace/aws-sdk-js-tests/node_modules/metro/src/DeltaBundler/buildSubgraph.js:103:3)
    at async Graph._buildDelta (/Users/trivikr/workspace/aws-sdk-js-tests/node_modules/metro/src/DeltaBundler/Graph.js:157:22)
    at async Graph.initialTraverseDependencies (/Users/trivikr/workspace/aws-sdk-js-tests/node_modules/metro/src/DeltaBundler/Graph.js:140:19)
    at async DeltaCalculator._getChangedDependencies (/Users/trivikr/workspace/aws-sdk-js-tests/node_modules/metro/src/DeltaBundler/DeltaCalculator.js:151:25)

@trivikr trivikr changed the title chore: use @react-native-community/cli@14.0.0 with react-native@0.74.x chore: use @react-native-community/cli@14.0.0 to build 0.74.x app Jul 22, 2024
@trivikr
Copy link
Contributor Author

trivikr commented Jul 22, 2024

Using upgrade helper to bump react-native version instead.

Example: #187

@trivikr trivikr closed this Jul 22, 2024
@trivikr trivikr deleted the react-native-cli-0.74.x branch July 22, 2024 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant