Skip to content

aws-sdk\client-transcribe-streaming nodejs module TypeError: Cannot read properties of undefined #6908

@shinde-prasad

Description

@shinde-prasad

Checkboxes for prior research

Describe the bug

configured the aws sdk node modules in project and testing aws-sdk/client-translate its working fine.
For aws-sdk\client-transcribe-streaming nodejs module getting typeError: Cannot read properties of undefined,

node_modules\@aws-sdk\client-transcribe-streaming\dist-cjs\index.js:281 return visitor._(value.$unknown[0], value.$unknown[1]); ^ TypeError: Cannot read properties of undefined (reading '0')

Regression Issue

  • Select this option if this issue appears to be a regression.

SDK version number

@aws-sdk/package-name@^3.758.0

Which JavaScript Runtime is this issue in?

Node.js

Details of the browser/Node.js/ReactNative version

v22.11.0

Reproduction Steps

Code taken from online documentation page. or else you can refer chat gpt code as well.

Observed Behavior

configured the aws sdk node modules in project and testing aws-sdk/client-translate its working fine.
For aws-sdk\client-transcribe-streaming nodejs module getting typeError: Cannot read properties of undefined,

node_modules\@aws-sdk\client-transcribe-streaming\dist-cjs\index.js:281 return visitor._(value.$unknown[0], value.$unknown[1]); ^ TypeError: Cannot read properties of undefined (reading '0')

Expected Behavior

ideally it should transcribe audio file

Possible Solution

No response

Additional Information/Context

No response

Metadata

Metadata

Assignees

Labels

bugThis issue is a bug.closed-for-stalenessp3This is a minor priority issueresponse-requestedWaiting on additional info and feedback. Will move to \"closing-soon\" in 7 days.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions