Skip to content

@alpinejs/persist: "d is not a function" error in recent @3.x.x release (works fine on 3.15.0) #4874

Closed

Description

@c0detnr

Alpine.js version

v3.14.1

Browser and operating system

Chrome on Windows 11

Describe the issue you're experiencing

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

  1. Load Alpine Persist plugin via CDN (@3.x.x tag) prior to Alpine core:
    <script defer src="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.

Activity

  1. calebporzio commented on Aug 11, 2026

    @calebporzio
    Collaborator

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions