AutocompleteFieldWidget installation issue - Uncaught ReferenceError: formwidget_autocomplete_parser

Hi,

I wish to use AutocompleteFieldWidget for a single selection from the vocabulary but encountered js-error. Here is my path:

  1. add widget dependency to buildout.cfg:
eggs =
    Plone
    Pillow
    Products.PloneHotfix20200121
    collective.taxonomy
    plone.formwidget.autocomplete
  1. declare widget usage in the schema:
directives.widget('species', AutocompleteFieldWidget, vocabulary=SPECIES_TAXONOMY_NAME_DEFAULT)
species = schema.Choice(
    title=_(u"label_animal_species", default=u"Species"),
    description=_(u"Animal species and breed"),
    vocabulary=SPECIES_TAXONOMY_NAME_DEFAULT,
    required=True,
)
  1. buildout runs fine

  2. but looks like AutocompleteFieldWidget js methods unaccessible or undefined while registering inputs in a browser:

Uncaught ReferenceError: formwidget_autocomplete_parser is not defined
    at HTMLDocument.<anonymous> (edit?_authenticator=1a3129682b7031d221c78f90d3639eac0e6522c2:726)
    at i (jquery.min.js:2)
    at Object.fireWith [as resolveWith] (jquery.min.js:2)
    at Function.ready (jquery.min.js:2)
    at HTMLDocument.J (jquery.min.js:2)

It is unclear what's going wrong with the installation process

Plone Foundation Code of Conduct