livewire-datatables icon indicating copy to clipboard operation
livewire-datatables copied to clipboard

HELP - Uncaught (in promise) TypeError: this.messageInTransit is null

Open Slobug opened this issue 3 years ago • 5 comments

Hello

I don't understand this error: Uncaught (in promise) TypeError: this.messageInTransit is null

I see this error only in production unfortunately. and my production is equal to my development except for the content of the tables.

Someone to guide me ? Thanks

Slobug avatar Sep 16 '22 08:09 Slobug

I do not know this error. Please ensure to run npm run prod and move that js/css on your production environment.

thyseus avatar Sep 16 '22 08:09 thyseus

Laravel
app\http\livewire\geforia\ChoisesDatatable.php

in development tool : my_application/livewire/message/geforia.choices-datatable

on mouseover the datatable I have this error : Uncaught (in promise) TypeError: this.messageInTransit is undefined

my_application//vendor/js/component/index.js l.257:64
` messageSendFailed() { store.callHook('message.failed', this.messageInTransit, this)

    this.messageInTransit.reject()

    this.messageInTransit = null
}`

Slobug avatar Sep 16 '22 09:09 Slobug

the npm run prod has not changed anything

Slobug avatar Sep 16 '22 09:09 Slobug

it looks like it is looking for this folder/file : my_application/livewire/message/geforia.choices-datatable, but I don't have this folder: message in the public/livewire folder

Slobug avatar Sep 16 '22 12:09 Slobug

Livewire encountered corrupt data when trying to hydrate the [geforia.choices-datatable] component. Ensure that the [name, id, data] of the Livewire component wasn't tampered with between requests.

Slobug avatar Sep 16 '22 14:09 Slobug