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

CI is broken #338

Closed
twoeths opened this issue Sep 22, 2022 · 1 comment
Closed

CI is broken #338

twoeths opened this issue Sep 22, 2022 · 1 comment

Comments

@twoeths
Copy link
Contributor

twoeths commented Sep 22, 2022

Description
Got this error in https://github.com/ChainSafe/js-libp2p-gossipsub/actions/runs/3095619454/jobs/5024578133

[02:01:55] tsc [started]
Error: src/index.ts(511,68): error TS2345: Argument of type 'import("/home/runner/work/js-libp2p-gossipsub/js-libp2p-gossipsub/node_modules/@multiformats/multiaddr/dist/src/index").Multiaddr[]' is not assignable to parameter of type 'import("/home/runner/work/js-libp2p-gossipsub/js-libp2p-gossipsub/node_modules/@libp2p/interface-connection/node_modules/@multiformats/multiaddr/dist/src/index").Multiaddr[]'.
  Type 'import("/home/runner/work/js-libp2p-gossipsub/js-libp2p-gossipsub/node_modules/@multiformats/multiaddr/dist/src/index").Multiaddr' is not assignable to type 'import("/home/runner/work/js-libp2p-gossipsub/js-libp2p-gossipsub/node_modules/@libp2p/interface-connection/node_modules/@multiformats/multiaddr/dist/src/index").Multiaddr'.
    Types of property 'encapsulate' are incompatible.
      Type '(addr: import("/home/runner/work/js-libp2p-gossipsub/js-libp2p-gossipsub/node_modules/@multiformats/multiaddr/dist/src/index").MultiaddrInput) => import("/home/runner/work/js-libp2p-gossipsub/js-libp2p-gossipsub/node_modules/@multiformats/multiaddr/dist/src/index").Multiaddr' is not assignable to type '(addr: import("/home/runner/work/js-libp2p-gossipsub/js-libp2p-gossipsub/node_modules/@libp2p/interface-connection/node_modules/@multiformats/multiaddr/dist/src/index").MultiaddrInput) => import("/home/runner/work/js-libp2p-gossipsub/js-libp2p-gossipsub/node_modules/@libp2p/interface-connection/node_modules/@multifo...'.
        Types of parameters 'addr' and 'addr' are incompatible.
          Type 'import("/home/runner/work/js-libp2p-gossipsub/js-libp2p-gossipsub/node_modules/@libp2p/interface-connection/node_modules/@multiformats/multiaddr/dist/src/index").MultiaddrInput' is not assignable to type 'import("/home/runner/work/js-libp2p-gossipsub/js-libp2p-gossipsub/node_modules/@multiformats/multiaddr/dist/src/index").MultiaddrInput'.
            Type 'Multiaddr' is not assignable to type 'MultiaddrInput'.
              Property '[inspect]' is missing in type 'import("/home/runner/work/js-libp2p-gossipsub/js-libp2p-gossipsub/node_modules/@libp2p/interface-connection/node_modules/@multiformats/multiaddr/dist/src/index").Multiaddr' but required in type 'import("/home/runner/work/js-libp2p-gossipsub/js-libp2p-gossipsub/node_modules/@multiformats/multiaddr/dist/src/index").Multiaddr'.
Error: test/utils/events.ts(64,25): error TS[23](https://github.com/ChainSafe/js-libp2p-gossipsub/actions/runs/3095619454/jobs/5024578133#step:4:24)44: Type 'Events' does not satisfy the constraint '{ [s: string]: any; }'.
@twoeths
Copy link
Contributor Author

twoeths commented Sep 27, 2022

issue was fixed and CI was back

@twoeths twoeths closed this as completed Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant