Skip to content

route-events tool not working with bare react-native app #81

@kingajohanna

Description

@kingajohanna

hi, i'm using the latest version of your tool, and the route-events tool is not working with bare react native apps, i get this error:

Unable to resolve module expo-router from /.../buoy-gg-example/node_modules/@buoy-gg/route-events/lib/module/components/NavigationStack.js: expo-router could not be found within the project or in these directories:
  node_modules
  33 | import { DataViewer } from "@buoy-gg/shared-ui/dataViewer";
  34 | import { useNavigationStack } from "../useNavigationStack";
> 35 | import { useRouter } from "expo-router";
     |                            ^
  36 |
  37 | // ============================================================================
  38 | // Types

here is my package.json:

 "dependencies": {
    "@buoy-gg/core": "^1.7.7",
    "@buoy-gg/debug-borders": "^2.0.8",
    "@buoy-gg/env": "^1.7.7",
    "@buoy-gg/highlight-updates": "^2.0.8",
    "@buoy-gg/network": "^1.7.7",
    "@buoy-gg/react-query": "^1.7.7",
    "@buoy-gg/route-events": "^1.7.7",
    "@buoy-gg/storage": "^1.7.7",
    "@react-native-async-storage/async-storage": "1.17.11",
    "@react-native-clipboard/clipboard": "^1.16.3",
    "@react-native/new-app-screen": "0.82.1",
    "@tanstack/query-sync-storage-persister": "5.59.16",
    "@tanstack/react-query": "4",
    "@tanstack/react-query-persist-client": "5.59.16",
    "react": "19.1.0",
    "react-dom": "19.1.0",
    "react-native": "0.81.1",
    "react-native-mmkv": "3.3.0",
    "react-native-safe-area-context": "^5.5.2"
  },

other tools are working like magic!

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