An export assignment cannot be used in a module with other exported elements

109 views Asked by At

I'm trying to build my project and suddently I'm faced with this problem:

Error: Error: node_modules/@testing-library/jest-dom/types/matchers.d.ts:713:1 - error TS2309: An export assignment cannot be used in a module with other exported elements.

713 export = matchers
~~~~~~~~~~~~~~~~~



    make: *** [Makefile:23: build-npm] Error 1
Error: Process completed with exit code 2.

It started happening when dependabot tried to upgrade my project Bump @testing-library/jest-dom from 6.3.0 to 6.4.1 in /moving-objects-gui

Node libraries are always a puzzle for me to solve and it usually goes well, but for this one, I can't really figure out what to do. I have read other questions about this, but they seem to be unrelated. They seem to discuss react but this one is about jest. Anyone has an idea?

0

There are 0 answers