Webwhatsapp-wrapper: Error: Cannot find module "../../locales/es/translation"

Created on 21 Nov 2019  路  5Comments  路  Source: mukulhase/WebWhatsapp-Wrapper

Hi, i have a problem, since a few hours i can't send messages, console shows: Error: Cannot find module "../../locales/es/translation"

Can you help me please!

Most helpful comment

It seems a general problem, it does not load the language files, even using the web without this API.

It seems that the ChatClass class doesn't exist anymore.

Possible path for SendMessage error
https://github.com/mukulhase/WebWhatsapp-Wrapper/compare/master...emilianot:patch-1

All 5 comments

I have the same problem, but the console erros is: "/locales/pt-BR/translation" and its impact in another console error : "Uncaught TypeError: Cannot read property 'default' of undefined". the function mentioned is:
window.Store.ChatClass.default.prototype.sendMessage = function (e) {
return window.Store.SendTextMsgToChat(this, ...arguments);
}
The "window.Store.ChatClass" not exist when the error "pt-BR/translation" exist.

Exactly, I am unable to send any messages here for this issue.

I have the same problem, but the console erros is: "/locales/pt-BR/translation" and its impact in another console error : "Uncaught TypeError: Cannot read property 'default' of undefined". the function mentioned is:
window.Store.ChatClass.default.prototype.sendMessage = function (e) {
return window.Store.SendTextMsgToChat(this, ...arguments);
}
The "window.Store.ChatClass" not exist when the error "pt-BR/translation" exist.

I have the same problem, but the console erros is: "/locales/pt-BR/translation" and its impact in another console error : "Uncaught TypeError: Cannot read property 'default' of undefined". the function mentioned is:
window.Store.ChatClass.default.prototype.sendMessage = function (e) {
return window.Store.SendTextMsgToChat(this, ...arguments);
}
The "window.Store.ChatClass" not exist when the error "pt-BR/translation" exist.

When i put the cellphone in english the issue about /locales/pt-BR/translation is over, but the Cannot read property 'default' of undefined in window.Store.ChatClass.default.prototype.sendMessage persist.

It seems a general problem, it does not load the language files, even using the web without this API.

It seems that the ChatClass class doesn't exist anymore.

Possible path for SendMessage error
https://github.com/mukulhase/WebWhatsapp-Wrapper/compare/master...emilianot:patch-1

The mentioned patch worked for me. Thanks.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

erickythierry picture erickythierry  路  5Comments

dafner picture dafner  路  6Comments

d2hf picture d2hf  路  6Comments

NolanWang picture NolanWang  路  5Comments

rzlnhd picture rzlnhd  路  3Comments