Skip to content

Commit c197b8e

Browse files
abueideclaude
andcommitted
fix(e2e): add yarn-berry package to E2E examples
The E2E tests were failing with "yarn: command not found" because nodejs@20 only includes npm. Added yarn-berry@latest to both E2E-compat and E2E-latest devbox.json packages lists since the scripts use yarn commands. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 74d3153 commit c197b8e

2 files changed

Lines changed: 14 additions & 2 deletions

File tree

examples/E2E-compat/devbox.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@
22
"include": [
33
"github:segment-integrations/mobile-devtools?dir=plugins/react-native"
44
],
5-
"packages": ["nodejs@20", "watchman@latest", "jdk17@latest", "gradle@latest"],
5+
"packages": [
6+
"nodejs@20",
7+
"yarn-berry@latest",
8+
"watchman@latest",
9+
"jdk17@latest",
10+
"gradle@latest"
11+
],
612
"env": {
713
"IOS_APP_SCHEME": "AnalyticsReactNativeE2E",
814
"IOS_APP_BUNDLE_ID": "com.analyticsreactnativeexample",

examples/E2E-latest/devbox.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@
22
"include": [
33
"github:segment-integrations/mobile-devtools?dir=plugins/react-native"
44
],
5-
"packages": ["nodejs@20", "watchman@latest", "jdk17@latest", "gradle@latest"],
5+
"packages": [
6+
"nodejs@20",
7+
"yarn-berry@latest",
8+
"watchman@latest",
9+
"jdk17@latest",
10+
"gradle@latest"
11+
],
612
"env": {
713
"IOS_APP_SCHEME": "AnalyticsReactNativeE2E",
814
"IOS_APP_BUNDLE_ID": "com.analyticsreactnativeexample",

0 commit comments

Comments
 (0)