Skip to content

ci(macos): sticky legacy-peer-deps via .npmrc#46

Merged
LeslieOA merged 1 commit into
developfrom
fix/macos-ci-npmrc
May 29, 2026
Merged

ci(macos): sticky legacy-peer-deps via .npmrc#46
LeslieOA merged 1 commit into
developfrom
fix/macos-ci-npmrc

Conversation

@LeslieOA

Copy link
Copy Markdown
Member

The macOS CI job added in #42 fails at npm install with ERESOLVE — react-native-webview peers on react-native-macos, conflicting with the app's direct react-native pin. Adds example/macos-app/.npmrc with legacy-peer-deps=true so the setting is honoured regardless of how npm is invoked (CI uses plain npm ci which doesn't get the --legacy-peer-deps flag that macos:install passes).

Follow-up fix for the macOS CI job; no library code change.

The macOS CI job (added in #42) fails at npm install with ERESOLVE —
react-native-webview peers on react-native-macos, conflicting with the
app's direct react-native pin. Add .npmrc with legacy-peer-deps=true so
the setting is sticky regardless of npm version or invocation path. This
is what macos:install already passes via --legacy-peer-deps; making it a
file means CI's plain npm ci/install picks it up too.
@LeslieOA LeslieOA merged commit d19c303 into develop May 29, 2026
3 of 4 checks passed
@LeslieOA LeslieOA deleted the fix/macos-ci-npmrc branch May 29, 2026 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant