Error ealier when framework names collide and clean up when resolved
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- react-native, typescript
- Domain
- build-system, mobile-dev
Research direction
No source file, test, or entry point is named. Reproduce the installation with two frameworks that have different paths but the same identifier, then trace Node-API framework installation and build-folder cleanup. Done means collisions fail earlier and the issue provides a reliable recovery path after one framework is removed.
Written by the indexing model from the issue text.
Description
After #351 merged and while experimenting with #363 I had frameworks on the filesystem with different path but same identifiers and got this error while installing an app.
Please try again later. Found bundle at
/Users/kraenhansen/Library/Developer/CoreSimulator/Devices/4EDDABA6-E72F-4FBF-85C5-576A9A9EA5F5/data/Library/Caches/com.apple.mobile.installd.staging/temp.nhmXW6/extracted/ReactTestApp.app/Frameworks/node-addon-examples--example-2-hello.frameworkwith the same identifier (example-2.hello) as bundle at/Users/kraenhansen/Library/Developer/CoreSimulator/Devices/4EDDABA6-E72F-4FBF-85C5-576A9A9EA5F5/data/Library/Caches/com.apple.mobile.installd.staging/temp.nhmXW6/extracted/ReactTestApp.app/Frameworks/example-2--hello.framework
After deleting one of these, the error persisted.
Ideally - we should check and fail if Node-API frameworks collide and investigate if it would be possible to provide a better recovery method than cleaning the build folder.
- Dominant language
- TypeScript
- Stars
- 206
- Forks
- 12
- Avg merge
- 4h 8m
- Merged PRs (30d)
- 2
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
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.
More from callstackincubator/react-native-node-api
-
Android 🤖
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
-
Sanity check of Hermes source directory via environment variable, when building Android projectsOpenAndroid 🤖 good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
callstackincubator/react-native-node-api#163 · 1 comment ·
-
enhancement good first issue gyp-to-cmake
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
callstackincubator/react-native-node-api#161 · 3 comments · 1 reaction ·
-
enhancement Linking 🔗
Difficulty 5/5 Over a week Newbie friendliness 8/100
-
enhancement Linking 🔗
Difficulty 4/5 3-5 days Newbie friendliness 35/100
All issues in callstackincubator/react-native-node-api
Similar issues
-
prio:low scope:hud
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
OliverRomhagen/vrigstad-joyride#953 ·
Maintainers usually reply within 1 day
-
review-followup
Difficulty 1/5 Under an hour Newbie friendliness 92/100
griffinwork40/agent-afk#5446 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
kacper-szewczyk/Ticknest#346 ·
Maintainers usually reply within 1 day
-
echarts geo: a GeoJSON URL that returns 200 with a body that is not JSON is fetched on each refreshOpenbug plugin/echarts/geo
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Yeachan-Heo/gajae-code#8230 ·
Maintainers usually reply within 1 day