[fingerprint] 0.20.13 gives a different fingerprint on Windows for apps in a monorepo — please backport the toPosixPath fix from 0.21.0
Minimal reproducible example
https://github.com/mehdei/expo-fingerprint-windows-repro
Steps to reproduce
npm install
npm run reproapps/app is create-expo-app --template blank (SDK 57, @expo/[email protected]) inside an npm workspace, so node_modules is hoisted above the app's projectRoot. npm run repro fingerprints the app twice on macOS/Linux: once as-is, and once with the config loader behaving as it does on Windows (path.relative returns backslashes, process.platform is win32, minimatch in its Windows mode — see repro/simulate-windows.js).
Expected: the same fingerprint on every OS.
Actual:
macOS/Linux hash=1de36c9ccff10fde48a262dcf9ba3a183a0c4b8a expoConfigPlugins sources=0
Windows hash=d7c26689eb983db1f69a2db731cd013a951f8aee expoConfigPlugins sources=23
e.g. ../../node_modules/@expo/config/build/buildCacheProvider.js
../../node_modules/@expo/config/build/Config.js
../../node_modules/@expo/config/build/Config.types.jsWe hit this for real between a Windows machine and a Mac on the same commit of our app monorepo: 118 expoConfigPlugins sources on Windows vs 3 on macOS, so fingerprints never matched.
Cause: build/ExpoConfigLoader.js:61 matches path.relative(projectRoot, modulePath) against DEFAULT_CONFIG_LOADING_IGNORE_PATHS. isIgnoredPath strips a leading parent prefix with /^(\.\.\/)+/ (build/utils/Path.js:99) so **/node_modules/@expo/**/* can match hoisted modules — but on Windows the prefix is ..\..\ and survives, so nothing matches. Minimatch accepts backslashes on Windows, so single-package projects are unaffected; only the monorepo prefix breaks.
Fix: 0.21.0 and canary already use toPosixPath(path.relative(projectRoot, filename)). With that one line applied to 0.20.13, the repro prints identical fingerprints for both. Could it be backported to the 0.20.x / SDK 57 line? We're carrying it as a patch-package patch meanwhile.
Diagnosed and reproduced with the help of Claude (Anthropic's AI coding assistant).
Environment
expo-env-info 2.1.0 environment info:
System:
OS: macOS 26.6.2
Shell: 5.9 - /bin/zsh
Binaries:
Node: 24.21.0
npm: 11.19.0
Managers:
CocoaPods: 1.17.0
SDKs:
iOS SDK:
Platforms: DriverKit 25.5, iOS 26.5, macOS 26.5, tvOS 26.5, visionOS 26.5, watchOS 26.5
IDEs:
Android Studio: 2026.1 AI-261.26222.65.2614.16204760
Xcode: 26.6/17F113
Expo Workflow: managed
@expo/fingerprint 0.20.13 (expo 57.0.23)Expo Doctor Diagnostics
Running 21 checks on your project...
21/21 checks passed. No issues detected!Source: expo/expo