Stimulus JS controller not working
I've taken a clone of one of the projects and I'm following the general setup commands. When I'm trying to create a new js controller(stimulus js) or defining any new method in the existing js controller, these were not triggered from the html.erb pages, from data-controller & data-action. Seems like the changes that I'm making are not working in the server.
I'm getting - Error invoking action "click->controller_name#method_name"
The weird part is it's working in one of my teammate's systems.
Anyone....