Skip to content

Peer dependency conflict with @react-navigation/native when running npx one #688

@MattieTK

Description

@MattieTK

Current Behavior

When attempting to run npx one, the installation fails immediately with an ERESOLVE error regarding an inability to resolve the dependency tree.

There appears to be a strict peer dependency conflict within one@1.12.8. It requires @react-navigation/native@"~7.1.33", but its optional peer @react-navigation/drawer (resolving to 7.9.6) requires @react-navigation/native@"^7.2.0".

Resorting to pnpx gets this to work with the warnings flagged rather than throwing the process.

Expected Behavior

npx one works with npx

One Version

1.12.8

Platform (Web, iOS, Android)

MacOS installation

Reproduction

Open a terminal.

Run the command: npx one

Press y to proceed with installing one@1.12.8.

Observe the npm error ERESOLVE crash.

System Info

System:
    OS: macOS 26.3.1
    CPU: (12) arm64 Apple M4 Pro
    Memory: 1.62 GB / 48.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 24.10.0 - /Users/matttaylor/.nvm/versions/node/v24.10.0/bin/node
    Yarn: 1.22.22 - /Users/matttaylor/.nvm/versions/node/v24.10.0/bin/yarn
    npm: 11.6.3 - /Users/matttaylor/.nvm/versions/node/v24.10.0/bin/npm
    bun: 1.3.10 - /Users/matttaylor/.bun/bin/bun
  Browsers:
    Safari: 26.3.1
  npmPackages:
    @better-auth/expo: ^1.3.32 => 1.4.15
    @better-fetch/fetch: ^1.1.18 => 1.1.21
    @dotenvx/dotenvx: ^1.44.1 => 1.51.4
    @gorhom/bottom-sheet: ^5.2.6 => 5.2.8
    @op-engineering/op-sqlite: ^15.0.7 => 15.2.3
    @playwright/test: ^1.55.0 => 1.57.0
    @react-native-masked-view/masked-view: ^0.3.2 => 0.3.2
    @react-native-menu/menu: ^2.0.0 => 2.0.0
    @rocicorp/zero: 0.25.11 => 0.25.11
    @take-out/better-auth-utils: ^0.0.67 => 0.0.67
    @take-out/cli: ^0.0.67 => 0.0.67
    @take-out/helpers: ^0.0.67 => 0.0.67
    @take-out/hooks: ^0.0.67 => 0.0.67
    @take-out/postgres: ^0.0.67 => 0.0.67
    @take-out/scripts: ^0.0.67 => 0.0.67
    @tamagui/animations-reanimated: ^2.0.0-rc.17 => 2.0.0-rc.17
    @tamagui/cli: ^2.0.0-rc.17 => 2.0.0-rc.17
    @tamagui/config: ^2.0.0-rc.17 => 2.0.0-rc.17
    @tamagui/constants: ^2.0.0-rc.17 => 2.0.0-rc.0-1769998500160
    @tamagui/helpers-icon: ^2.0.0-rc.17 => 2.0.0-rc.17
    @tamagui/linear-gradient: ^2.0.0-rc.17 => 2.0.0-rc.17
    @tamagui/native: ^2.0.0-rc.17 => 2.0.0-rc.17
    @tamagui/themes: ^2.0.0-rc.17 => 2.0.0-rc.17
    @tamagui/toast: ^2.0.0-rc.17 => 2.0.0-rc.17
    @tamagui/vite-plugin: ^2.0.0-rc.17 => 2.0.0-rc.17
    @types/async-retry: ^1.4.9 => 1.4.9
    @types/bun: ^1.2.16 => 1.3.6
    @types/node: 24.0.3 => 24.0.3
    @types/pg: ^8.11.10 => 8.16.0
    @types/react: ~19.1.10 => 19.1.17
    @types/react-dom: ~19.1.7 => 19.1.11
    @vxrn/color-scheme: ^1.9.9 => 1.9.9
    babel-plugin-react-compiler: ^1.0.0 => 1.0.0
    better-auth: ^1.3.32 => 1.4.15
    burnt: ^0.12.2 => 0.12.2
    drizzle-kit: ^0.30.5 => 0.30.6
    drizzle-orm: ^0.40.0 => 0.40.1
    expo: ^54.0.22 => 54.0.31
    expo-blur: ~15.0.7 => 15.0.8
    expo-build-properties: ~1.0.9 => 1.0.10
    expo-clipboard: ~8.0.7 => 8.0.8
    expo-crypto: ^15.0.7 => 15.0.8
    expo-dev-client: ~6.0.16 => 6.0.20
    expo-font: ~14.0.9 => 14.0.10
    expo-haptics: ~15.0.7 => 15.0.8
    expo-image: ~3.0.10 => 3.0.11
    expo-linear-gradient: ~15.0.7 => 15.0.8
    expo-plugin-ios-static-libraries: ^1.0.4 => 1.0.4
    expo-splash-screen: ^31.0.10 => 31.0.13
    expo-web-browser: ^15.0.9 => 15.0.10
    jose: ^6.0.11 => 6.1.3
    motion: ^12.29.0 => 12.29.2
    on-zero: 0.1.33 => 0.1.33
    one: ^1.9.9 => 1.9.9
    oxfmt: ^0.16.0 => 0.16.0
    oxlint: ^1.31.0 => 1.41.0
    oxlint-tsgolint: ^0.11.4 => 0.11.4
    pg: ^8.16.3 => 8.17.1
    playwright: ^1.57.0 => 1.57.0
    react: 19.1.0 => 19.1.0
    react-dom: 19.1.0 => 19.1.0
    react-native: 0.81.5 => 0.81.5
    react-native-bottom-tabs: ^0.10.0 => 0.10.2
    react-native-gesture-handler: ~2.30.0 => 2.30.0
    react-native-ios-context-menu: ^3.2.1 => 3.2.1
    react-native-ios-utilities: ^5.2.0 => 5.2.0
    react-native-keyboard-controller: ^1.20.2 => 1.20.6
    react-native-mmkv: ^4.1.2 => 4.1.2
    react-native-permissions: ^5.4.4 => 5.4.4
    react-native-reanimated: ^4.2.0 => 4.2.1
    react-native-safe-area-context: ~5.6.2 => 5.6.2
    react-native-screens: ^4.19.0 => 4.20.0
    react-native-svg: 15.12.1 => 15.12.1
    react-native-worklets: ^0.7.2 => 0.7.2
    rollup-plugin-visualizer: ^6.0.5 => 6.0.5
    tamagui: ^2.0.0-rc.17 => 2.0.0-rc.17
    typescript: ^5.9.3 => 5.9.3
    valibot: ^1.0.0 => 1.2.0
    vite: ^7.1.12 => 7.3.1
    vitest: ^4.0.3 => 4.0.17
    vxrn: ^1.9.9 => 1.9.9
    zeego: ^3.0.6 => 3.0.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions