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

example app does not work properly. #3709

Closed
1 task done
AsteriskZuo opened this issue Dec 13, 2022 · 4 comments
Closed
1 task done

example app does not work properly. #3709

AsteriskZuo opened this issue Dec 13, 2022 · 4 comments

Comments

@AsteriskZuo
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Explain what you did

this repo commit id: dc2e5d1
I want run example app.

  1. git clone git@github.com:react-native-elements/react-native-elements.git to local.
  2. yarn in project root directory.
  3. yarn run start

branch is next.

tip:

Android Bundling failed 856ms
error: Error: resolveDependencies: Found duplicate dependency key 'undefined' in /Users/asterisk/Codes/rn/react-native-elements/example/index.js
    at resolveDependencies (/Users/asterisk/Codes/rn/react-native-elements/example/node_modules/metro/src/DeltaBundler/graphOperations.js:484:13)
    at processModule (/Users/asterisk/Codes/rn/react-native-elements/example/node_modules/metro/src/DeltaBundler/graphOperations.js:232:31)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async traverseDependenciesForSingleFile (/Users/asterisk/Codes/rn/react-native-elements/example/node_modules/metro/src/DeltaBundler/graphOperations.js:221:3)
    at async Promise.all (index 0)

Expected behavior

example app run in normal.

Describe the bug

example app can not run in any device or simulator.

Steps To Reproduce

1. `git clone git@github.com:react-native-elements/react-native-elements.git` to local.
2. `yarn` in project root directory.
3. `yarn run start`

Screenshots

Uploading 图片.png…

Your Environment

`npx @rneui/envinfo`
  ```
    Output from `npx @rneui/envinfo` goes here.
  ```
@AsteriskZuo
Copy link
Author

图片

@AsteriskZuo
Copy link
Author

git commit id: 1885bd0
v4.0.0-rc.7
example app runs properly.

@arpitBhalla
Copy link
Member

arpitBhalla commented Dec 20, 2022

I believe it's an issue with metro@>=0.72.0, need to look into it.

refer facebook/metro#857

@arpitBhalla
Copy link
Member

Hey, I have made some changes, could you try again, feel free to re-open/comment if anyone is still facing any issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants