indutny / indutny/node-ip

Buffer is not a constructor

Open
#132 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.5k
Forks
228
PR merge metrics
No merged PRs in 30d

Description

I wanna use node-ip in my react project, just like this:
![image](https://github.com/indutny/node-ip/assets/78125933/3c04c613-6426-4dd4-bb61-a4de438573b7)
![image](https://github.com/indutny/node-ip/assets/78125933/daed9a71-15d2-4591-ae7a-228839407c5a)
But it triggers Buffer error:
![image](https://github.com/indutny/node-ip/assets/78125933/16d05081-1415-49e9-a32c-1d5bccffaf9b)
could anybody pls tell why?

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

No files, tests, or entry points are named. Start by reproducing the node-ip usage in the React project shown in the screenshots and inspect the reported “Buffer is not a constructor” failure. Done means identifying the compatibility issue and validating a fix or clear compatibility guidance.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js, react
Domain
frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.