element-hq / element-web

A glossy Matrix collaboration client for the web.
https://element.io
Apache License 2.0
10.69k stars 1.88k forks source link

Cannot find type definition file for 'testing-library__jest-dom' #27392

Open MarcWadai opened 3 weeks ago

MarcWadai commented 3 weeks ago

Steps to reproduce

  1. Where are you starting? What can you see? I have a fork of matrix-react-sdk that I use as a subtree in my project. When trying to build my fork, it fails when running the command : yarn build:types

output :

error TS2688: Cannot find type definition file for 'testing-libraryjest-dom'. The file is in the program because: Entry point for implicit type library 'testing-libraryjest-dom'

Found 1 error.

I didn't touch any configuration files or added any dependencies in the project.

Outcome

What did you expect?

To build my matrix-react-sdk fork in my project

What happened instead?

An error occurred

Operating system

ArchLinux, node 18.19.1

Browser information

No response

URL for webapp

No response

Application version

matrix-react-sdk 3.95.0

Homeserver

No response

Will you send logs?

Yes