Module not found: Can't resolve 'util/types'

Open
#19 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start by reproducing the install or runtime failure reported at node_modules/undici/lib/fetch/body.js:21:40, including the Serpapi dependency setup. Check why util/types cannot be resolved and why net must be installed manually. Done means the dependency setup runs without these module-resolution errors.

Written by the indexing model from the issue text.

Description

Issue on ./node_modules/undici/lib/fetch/body.js:21:40
Dependency of Serpapi
Also I needed to install net manually

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.