Meituan-Dianping / Meituan-Dianping/beeshell
使用Icon 组件报动态引用错误
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.8k
- Forks
- 285
- PR merge metrics
- No merged PRs in 30d
Description
出现红屏
Error: Dynamic require defined at line 17; not supported by metro
是不是 nativecli 自带的 metro 版本低了?
react-native-cli: 2.0.1
react-native: 0.61.5
设备是小米mix2s 真机android9,和 android虚拟机 android10
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the red screen with on the reported React Native versions and Android environments. Inspect the Icon implementation and the Metro error at line 17 to identify the unsupported dynamic require; done means the icon renders without the dynamic-require error on Android.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100