Skip to content

Invalid attempt to spread non-iterable instance #316

@t3db0t

Description

@t3db0t

Hi there! I just came back to a project from about a year ago and I'm now getting this error on a previously working codebase that I hadn't made any changes to:

jquery.min.js:2 jQuery.Deferred exception: Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method. TypeError: Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.
    at https://unpkg.com/micromodal@0.4.6/dist/micromodal.min.js:1:847
    at t (https://unpkg.com/micromodal@0.4.6/dist/micromodal.min.js:1:997)
    at Object.init (https://unpkg.com/micromodal@0.4.6/dist/micromodal.min.js:1:6393)
    at HTMLDocument.<anonymous> (http://127.0.0.1:8887/lib/index.js:77:16)
    at j (https://cdnjs.cloudflare.com/ajax/libs/jquery/3.0.0/jquery.min.js:2:29588)
    at k (https://cdnjs.cloudflare.com/ajax/libs/jquery/3.0.0/jquery.min.js:2:29902)

This is in Chrome 80.0.3987.162. When I comment out any use of micromodal everything works again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs more infoUser needs to provide more information before we can debug further

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions