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.

1.x build failing due to types error #5675

@luu-alex

Description

@luu-alex

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

We ran into issues with package-lock for example with dependancies using different typescript versions.

from my understanding, what is going on is when we run npm run build lerna will hoist all the dependancies meaning all the modules will be a specific version. babel will always be using the latest version of typescript, and when we look at the @types/babel___traverse file we see that type version is 4.1 "typeScriptVersion": "4.1" .

The packages within web3 are all using typescript:'3.9' which will result in an error when index.d.ts is different

Expected Behavior

build should work properly

Steps to Reproduce

pull the latest branch and try to build

Web3.js Version

1.8.1

Environment

  • Operating System:
  • Browser:
  • Node.js Version:
  • NPM Version:

Anything Else?

No response

Metadata

Metadata

Assignees

Labels

1.x1.0 related issuesBugAddressing a bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions