TypeError: First parameter has member 'readable' that is not a ReadableStream.

Open
#13 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
nodejs, typescript
Domain
api

Research direction

Start by reproducing the getJson call with Node v18.15 and serpapi 1.1.1, then trace the getJson entry point to identify where the ReadableStream error originates. Done means the reported TypeError no longer occurs for this usage; the issue names no file or test to run.

Written by the indexing model from the issue text.

Description

When using getJson, I get the following error:
TypeError: First parameter has member 'readable' that is not a ReadableStream.

I'm on node v18.15, serpapi 1.1.1

Dominant language
TypeScript
Stars
95
Forks
33
Avg merge
8d 12h
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from serpapi/serpapi-javascript

All issues in serpapi/serpapi-javascript

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.