covid19-dio icon indicating copy to clipboard operation
covid19-dio copied to clipboard

Não consigo achar o erro

Open LeandroAcipreste opened this issue 2 years ago • 1 comments

Olá professor! tudo bom?

Meu projeto está apresentando esse erro:

TypeError: Expected container to be an Element, a Document or a DocumentFragment but got undefined. checkContainerType node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:252 249 | 250 | function checkContainerType(container) { 251 | if (!container || !(typeof container.querySelector === 'function') || !(typeof container.querySelectorAll === 'function')) {

252 | throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got " + getTypeName(container) + "."); 253 | } 254 | 255 | function getTypeName(object) {

Eu não estou conseguindo entender qual parte do projeto está gerando esse erro, teria como vc me ajudar? Gratidão ^^

LeandroAcipreste avatar May 17 '22 03:05 LeandroAcipreste

Professor, consegui encontrar o erro, estava no Board. Consegui identificar pelo console.

LeandroAcipreste avatar May 17 '22 03:05 LeandroAcipreste