Hi Smart People. I seem to have broken laravel/livewire/jetstream in some weird way. I have checked that all my composer dependencies are up to date, my AlpineJs includes are correct, but....
When I go to use the jetstream modal, either in my own code, or as part of the standard install, the cancel button breaks everything.
Specifically, if I go to the standard profile page from Jetstream scaffolding, and select 'Delete Account'. the popup appears, and I select 'Cancel'. the popup disappears, but now all click events are disabled until I reload the page.
In the javascript console I see the following,
[Error] Unhandled Promise Rejection: [object Object]
(anonymous function)
rejectPromise
(anonymous function) (cdn.min.js:5:8676)
(anonymous function) (alpinejs.js:1058)
(anonymous function) (alpinejs.js:835)
transition (alpinejs.js:1008)
out (alpinejs.js:948)
(anonymous function) (cdn.min.js:5:8621)
Promise
(anonymous function) (cdn.min.js:5:8593)
(anonymous function) (cdn.min.js:5:30592)
(anonymous function) (cdn.min.js:5:6120)
(anonymous function) (cdn.min.js:5:30683)
we (cdn.min.js:5:1284)
(anonymous function) (cdn.min.js:5:1026)
Yt (cdn.min.js:1:4880)
Yt
(anonymous function) (cdn.min.js:5:30628)
r (cdn.min.js:5:16267)
ln (cdn.min.js:1:259)
[Error] Unhandled Promise Rejection: TypeError: u is not a function. (In 'u()', 'u' is undefined)
(anonymous function) (cdn.min.js:5:9054)
promiseReactionJob
Any ideas what magic I have done to break the internals here.... given that the problem is in cdn.min.js, that implies I have done something to break the alpine.js under the hood..... I am still pulling 3.x.x from the unpkg.... standard stuff as per the AlpineJs install page... yet..... its broken....
All ideas warmly welcomed....