Skip to content

Commit 6c2020f

Browse files
gsanchezmclaude
andcommitted
fix(mobile): set pnpm node-linker=hoisted for Metro bundler compatibility
Metro cannot resolve react-native internal modules (e.g. LaunchArguments) through pnpm's default symlinked node_modules layout. Setting node-linker to hoisted creates a flat layout that Metro can traverse, which is the official recommendation for Expo/RN projects using pnpm. Fixes iOS and Android CI build failures: "LaunchArguments.js does not exist. Falling back to file-based resolution" ** BUILD FAILED ** Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 263675c commit 6c2020f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

frontend-mobile/.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node-linker=hoisted

0 commit comments

Comments
 (0)