jonas PRO said almost 3 years ago on Autocomplete with StimulusJS :
Thanks,

Stimulus is added via gem 'stimulus-rails', works fine. The index.js looks just like in the episode.
Had forgotten to change the defaults to 6.1, it was 6.0, but it made no difference.

Is sprockets supposed to compile the node_modules to dev-assets or how is it supposed to work?