Closed wlepinski closed 3 years ago
I have same problem.
This seems related to inertia / deepclone / remember
feature.
I updated to the latest releases 0.8.6 & 0.3.6 but still seems to exist.
You can bypass this by adding {remember: false}
on any form setting form data to objects.
resources/js/Pages/API/ApiTokenManager.vue
createApiTokenForm: this.$inertia.form({
name: '',
permissions: this.defaultPermissions,
}, {remember: false}),
related issues: https://github.com/inertiajs/inertia/issues/552, https://github.com/inertiajs/inertia/issues/578
related pull request: https://github.com/inertiajs/inertia/pull/575
Thanks. Looks like this is an Inertia issue so please follow up on their issue tracker.
This has been fixed in Inertia here: https://github.com/inertiajs/inertia/pull/587
confirmed bumping to latest versions of inertia works:
"@inertiajs/inertia": "^0.8.6",
"@inertiajs/inertia-vue3": "^0.3.7",
npm update && npm run dev
Thanks @dillingham!! I appreciate your help tracking this one down. 👍
@reinink no problem, thanks for the quick fix! 🙌
I am having this issue with the latest Inertia and Jetstream, any ideas @driesvints ? Adding, {remember: false} doesn't help.
Hey guys!
I have this laravel-inertia
application with a presence channel chat and I've been facing this issue as well (still didn't fix it).
Settings
inertiajs/inertia-laravel: ^0.4.3
@inertiajs/inertia: ^0.10.0
@inertiajs/inertia-vue3: ^0.5.1
What is happening
With the presence channel set, when I connect to it and then leave it, everything works perfectly.
The error occurs when, in a second scenario, when I try to leave the channel after sending a message.
As I said, when I dont send a message, everything works fine, I can connect to it and leave it, without triggering this exception.
There is no error related with broadcast event, as well with the message sent. The exception is triggered when I try to leave the channel after, and only after, i send a message.
Description:
I followed the installation instructions of both Laravel and Jetstream. After enabling the
Feature::api()
onconfig/jetstream.php
and pointing the browser to http://{domain}/user/api-tokens I see a blank screen with the following error on console:No other changes were done except the features list inside
config/jetstream.php
. While searching for the issue online I found this https://github.com/inertiajs/inertia/issues/309.Steps To Reproduce:
curl -s "https://laravel.build/example-app" | bash
./vender/bin/sail composer require laravel/jetstream
config/jetstream.php
and enable all features inside the features list