Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build the latest 1.14 release #2210

Closed
randombishop opened this issue Jul 25, 2024 · 1 comment
Closed

Can't build the latest 1.14 release #2210

randombishop opened this issue Jul 25, 2024 · 1 comment
Labels
s-triage Needs to be reviewed, designed and prioritized

Comments

@randombishop
Copy link

What is the bug?

@farcaster/hubble:build: $ tsc --project ./tsconfig.json
@farcaster/hubble:build: src/network/p2p/connectionFilter.ts(46,3): error TS2416: Property 'denyDialMultiaddr' in type 'ConnectionFilter' is not assignable to the same property in base type 'ConnectionGater'.
@farcaster/hubble:build:   Type '(_multiaddr: Multiaddr) => Promise<boolean>' is not assignable to type '(peerId: PeerId, multiaddr: Multiaddr) => Promise<boolean>'.
@farcaster/hubble:build:     Types of parameters '_multiaddr' and 'peerId' are incompatible.
@farcaster/hubble:build:       Type 'PeerId' is not assignable to type 'Multiaddr'.
@farcaster/hubble:build:         Type 'RSAPeerId' is missing the following properties from type 'Multiaddr': bytes, toJSON, toOptions, protos, and 12 more.
@farcaster/hubble:build: error Command failed with exit code 2.

How can it be reproduced? (optional)
git clone repo on ubuntu instance and run yarn build.

Additional context (optional)
Environment was working well with previous version.

@github-actions github-actions bot added the s-triage Needs to be reviewed, designed and prioritized label Jul 25, 2024
@randombishop
Copy link
Author

Update: solution was simply running yarn install again before yarn build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s-triage Needs to be reviewed, designed and prioritized
Projects
None yet
Development

No branches or pull requests

1 participant