Closed Guiviniac closed 1 year ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Estou com o mesmo problema. Já conseguiu uma solução?
@DevShop1251 Nunca, até hoje sem funcionar
O meu acabou de dar esse problema, reinstalei o banco de dados e voltou a funcionar.
Tente acessar o arquivo: node_modules/whatsapp-web.js/src/util/Injected.js
alterar a linha que contem as informações:
window.Store.QueryExist = window.mR.findModule('queryExists')[0].queryExists;
para:
window.Store.QueryExist = window.mR.findModule('queryExists')[0] ? window.mR.findModule('queryExists')[0].queryExists : window.mR.findModule('queryExist')[0].queryWidExists;
E depois reinicie o backend, pode ser que resolva.
Olá, funcionou quando alterou o arquivo Injected.js?
@dev-dfBueno Não funcionou.. continua dando o mesmo erro
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
require() of ES modules is not supported. require() of /home/ittnet/ITWPP/backend/node_modules/multer/index.js from /home/ittnet/ITWPP/backend/dist/config/upload.js is an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which defines all .js files in that package scope as ES modules. Instead rename index.js to end in .cjs, change the requiring code to use import(), or remove "type": "module" from /home/ittnet/ITWPP/backend/node_modules/multer/package.json.
code: 'ERR_REQUIRE_ESM'
Quando eu vou dar um start do backend do Whaticket , a mensagem acima aparece e o app não inicia, alguem poderia me ajudar??Estou fazendo a instalação no Ubuntu LTS 22.04.