mohebifar / mohebifar/react-native-copilot

The Example is not working

Open
#170 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
2.4k
Forks
428
PR merge metrics
No merged PRs in 30d

Description

Current Behavior
yarn install then yarn start gives this error on phones and simulators

node_modules/expo/AppEntry.js: Cannot find module 'babel-plugin-transform-react-jsx-source' from '/Users/gothraven/ReactNativePlayground/react-native-copilot/example'
- Did you mean "@babel/transform-react-jsx-source"?

Environment

Additional context/Screenshots
image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure in the example with yarn install followed by yarn start, then inspect the example's dependency and Babel setup for the missing plugin. Done means the example starts successfully on the reported phones and simulators without the module-not-found error.

Written by the indexing model from the issue text.

Assessment

Tech stack
babel, react-native
Domain
build-system, mobile
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.