deactivated+1 said over 2 years ago on FullCalendar with StimulusJS :
  Well... It seems that jsbundling does not support Apple Silicon yet (I have a Mac M1, and a lot of errors related to the system architecture were displayed). I got back to webpacker in order to install stimulus, and even though I change the import statement from:
import { Controller } from "stimulus"
to
import { Controller } from "@hotwired/stimulus"
the following errors persists:
ERROR in ./app/javascript/controllers/hello_controller.js
Module not found: Error: Can't resolve 'stimulus' in '/Users/gonzalezarthur/GitHub/Helpeat/app/javascript/controllers'
 @ ./app/javascript/controllers/hello_controller.js 29:0-38 50:2-12
 @ ./app/javascript/controllers sync _controller\.js$
 @ ./app/javascript/controllers/index.js
 @ ./app/javascript/packs/application.js

ERROR in ./app/javascript/controllers/index.js
Module not found: Error: Can't resolve 'stimulus/webpack-helpers' in '/Users/gonzalezarthur/GitHub/Helpeat/app/javascript/controllers'
 @ ./app/javascript/controllers/index.js 4:0-66 9:17-39
 @ ./app/javascript/packs/application.js

I've been searching a lot on the internet to learn how to solve this but I didn't find anything specific related to this error. :/