Skip to content

TypeError: undefined is not an object #1

@carlors

Description

@carlors

Hello, I had follow your article https://blog.logrocket.com/using-whisper-speech-recognition-react-native but got a confuse result, when I recording the error:
ERROR Failed to start recording [Error: Only one Recording object can be prepared at a given time.] LOG Requesting permissions.. ERROR Failed to start recording [Error: Only one Recording object can be prepared at a given time.] LOG error : error LOG Stopping recording.. LOG Recording stopped and stored at file:///var/mobile/Containers/Data/Application/069B53BC-6700-4ECE-AA11-EAF72AC5739B/Library/Caches/ExponentExperienceData/%2540anonymous%252FvoiceGPT-372b4b71-28fb-463c-9dc7-87eebdef1ec5/AV/recording-F36F445F-0F82-4840-9F47-088FE64FC36D.wav WARN Possible Unhandled Promise Rejection (id: 0): TypeError: undefined is not an object (evaluating 'recording.getURI') @http://192.168.1.14:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&hot=false:99393:28 generatorResume@[native code] asyncGeneratorStep@http://192.168.1.14:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&hot=false:21011:26 _next@http://192.168.1.14:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&hot=false:21030:29 @http://192.168.1.14:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&hot=false:21035:14 tryCallTwo@http://192.168.1.14:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&hot=false:25632:9 doResolve@http://192.168.1.14:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&hot=false:25763:25 Promise@http://192.168.1.14:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&hot=false:25651:14 @http://192.168.1.14:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&hot=false:21027:25 _transcribeRecording@http://192.168.1.14:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&hot=false:99428:40
how can I solve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions