Skip to content

TypeError: Readable.from is not a function #28693

Closed
@ilivestrong

Description

@ilivestrong

Hi Folks,

I was learning "Streams" from Nodejs.org website. I would like to bring to your notice that one of the API i.e., Readable.from is throwing an error - "TypeError: Readable.from is not a function".

I am using Node v11.13.0

In debug mode, I found that there isn't any property accessor named - "from" on "Readable" class, it's prototype or on it's super class either(Stream).

FYI, I didn't make any tweaks to the provided example, and tried to use it as it is(screenshot attached).

If I am missing anything, please enlighten me.

Thanks in advance,
Deepak

Readable from

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to the documentations.streamIssues and PRs related to the stream subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions