Skip to content

not able to import whisper.rn #319

Description

@grantCelley

For some reason my system cant import whisper.rn

"expo": "~54.0.30",
"whisper.rn": "^0.5.4"
the output I am getting is

WARN  Route "./index.tsx" is missing the required default export. Ensure a React component is exported as default.
ERROR  [TypeError: Cannot read property 'getConstants' of null] 

Code: index.tsx
  9 | }
 10 |
> 11 | import { initWhisper, initWhisperVad } from 'whisper.rn/index.js';
    | ^
 12 |
 13 |
 14 | export default function Index() {
Call Stack
 <global> (app/index.tsx:11)

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions