-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: imageStream.pipe is not a function #223
Comments
Hi @shamnad-sherief , what version of the SDK and NodeJS are you using? |
|
Hi, |
@JJDSNT
But it is quiet different from the old version. |
@shamnad-sherief I have the same issue. Did you find a solution? Later add. In node 20 if (response.value instanceof Readable) {
return response.value;
}
return Readable.fromWeb(response.value); |
I'm encountering an issue while using the GetObjectResponse object from the OCI Object Storage library. When trying to use the .pipe() method on the value property of the GetObjectResponse, I receive the following error:
TypeError: imageStream.pipe is not a function
Expected Behavior:
The .pipe() method should work as expected on the value property, allowing the stream content to be piped to a response object.
Actual Behavior:
Encountering the "TypeError: imageStreamValue.pipe is not a function" error when attempting to use .pipe() on the value property.
Below is my controller:-
The text was updated successfully, but these errors were encountered: