Skip to content

Unable to run Expo SDK 53 #166

Closed

Description

@bbhxwl

Before submitting a new issue

  • I tested using the latest version of the library, as the bug might be already fixed.
  • I tested using a supported version of react native.
  • I checked for possible duplicate issues, with possible answers.

Bug summary

Is there a problem with TS?

Library version

2.1.7

Environment info

info Fetching system and libraries information...
System:
  OS: Windows 10 10.0.19045
  CPU: (24) x64 13th Gen Intel(R) Core(TM) i7-13700F
  Memory: 1.04 GB / 31.82 GB
Binaries:
  Node:
    version: 22.15.0
    path: C:\Users\47013\AppData\Roaming\fnm\node-versions\v22.15.0\installation\node.EXE
  Yarn:
    version: 1.22.19
    path: C:\Users\47013\AppData\Roaming\npm\yarn.CMD
  npm:
    version: 10.9.2
    path: C:\Users\47013\AppData\Roaming\fnm\node-versions\v22.15.0\installation\npm.CMD
  Watchman: Not Found
SDKs:
  Android SDK: Not Found
  Windows SDK:
    AllowDevelopmentWithoutDevLicense: Enabled
    Versions:
      - 10.0.20348.0
      - 10.0.22621.0
IDEs:
  Android Studio: Not Found
  Visual Studio:
    - 17.9.34728.123 (Visual Studio Professional 2022)
Languages:
  Java:
    version: 11.0.16.1
    path: C:\Program Files\Microsoft\jdk-11.0.16.101-hotspot\bin\javac.EXE
  Ruby: Not Found
npmPackages:
  "@react-native-community/cli":
    installed: 20.0.2
    wanted: latest
  react:
    installed: 19.0.0
    wanted: 19.0.0
  react-native:
    installed: 0.79.6
    wanted: 0.79.6
  react-native-windows: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found

info React Native v0.82.1 is now available (your project is running on v0.79.6).
info Changelog: https://github.com/facebook/react-native/releases/tag/v0.82.1
info Diff: https://react-native-community.github.io/upgrade-helper/?from=0.79.6&to=0.82.1
info For more info, check out "https://reactnative.dev/docs/upgrading?os=windows".

Steps to reproduce

  [
                "react-native-vosk",
                {
                    "models": [
                        "assets/model-zh-cn"
                    ],
                    "iOSMicrophonePermission": "Nous avons besoin d'accéder à votre microphone"
                }
            ],

Reproducible example repository

1

Activity

  1. added
    bug
    on Dec 10, 2025
  2. bbhxwl commented on Dec 10, 2025

    @bbhxwl
    Author
    Image
  3. riderodd commented on Nov 9, 2026

    @riderodd
    Owner

    Thanks for the report. Since v2.1.0 the library is a TurboModule whose spec uses CodegenTypes.EventEmitter, which React Native only exports from 0.80. Expo SDK 53 ships RN 0.79, so codegen fails (the Property 'onResult' refers to a 'TSTypeReference' error).

    Options:

    • upgrade to Expo SDK 54+ (RN 0.81), or
    • stay on react-native-vosk@1.0.0 for older RN versions.

    #178 makes this minimum explicit in peerDependencies and the README.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions