David Kimura PRO said almost 4 years ago on Hotwire :
  if you're using webpacker, don't run hotwire:install. You should use stimulusjs via webpacker with

rails webpacker:install:stimulus