You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
@alpinejs/persist: "d is not a function" error in recent @3.x.x release (works fine on 3.15.0) #4874
Using @alpinejs/persist via CDN with the @3.x.x dynamic version tag started throwing a d is not a function JS runtime error recently. Pinning the version back to 3.15.0 fixes the issue completely. (My Alpine version is v3.14.1)
Code snippets to reproduce the issue
Steps to Reproduce
Load Alpine Persist plugin via CDN (@3.x.x tag) prior to Alpine core:
<scriptdefersrc="https://cdn.jsdelivr.net/npm/@alpinejs/[email protected]/dist/cdn.min.js"></script><script>/* I load alpine v3.14.1 on here */</script>
Screenshots/screen recordings
No response
How do you expect it to work?
Should work fine
Please confirm (incomplete submissions will not be addressed)
I have provided easy and step-by-step instructions to reproduce the bug.
I have provided code samples as text and NOT images.
I understand my bug report will be removed if I haven't met the criteria above.
Thanks for reporting this. The compatibility fix shipped in Alpine/Persist 3.16.1, so @alpinejs/[email protected] should now work again with Alpine 3.14.1.
Activity
calebporzio commentedon Aug 11, 2026
Thanks for reporting this. The compatibility fix shipped in Alpine/Persist 3.16.1, so
@alpinejs/[email protected]should now work again with Alpine 3.14.1.https://github.com/alpinejs/alpine/releases/tag/v3.16.1