Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

TypeError: Cannot convert a BigInt value to a number #6187

@eliashezron

Description

@eliashezron

Expected behavior

view screen on deployment

Actual behavior

failing to view screen on deployment because of the error, This is the error TypeError: Cannot convert a BigInt value to a number that seems to be coming from the converter.ts file. line 40 in the screenshot below
Screenshot 2023-06-12 at 14 40 01

Steps to reproduce the behavior

  1. [First step]
    create-react-app
  2. [second step]
    install the lastest web3 package yarn add web3
  3. [third step]
    build the project
  4. [and so on...]
    deploy to netlify or vercel

Logs

Screenshot 2023-06-12 at 14 34 30

Environment

npm 9.6.2
node v18.15.0
web3js v4.0.1
OS macOS
device macbook

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions