deactivated+1 said over 2 years ago on FullCalendar with StimulusJS :
I just saw an error being generated by an import in the app/javascript/controllers/index.js file:
import { definitionsFromContext } from "stimulus/webpack-helpers"

Then I saw in the Stimulus documentation that this definitionsFromContext component should be imported through:
import { definitionsFromContext } from "@hotwired/stimulus-webpack-helpers"

I did this, and the following error persists:
ERROR in ./app/javascript/controllers/index.js
Module not found: Error: Can't resolve '@hotwired/stimulus-webpack-helpers' in '/Users/gonzalezarthur/GitHub/Helpeat/app/javascript/controllers'
 @ ./app/javascript/controllers/index.js 5:0-76 10:17-39
 @ ./app/javascript/packs/application.js