Save 36% for Black Friday! Learn more

New Discussion

Notifications

You’re not receiving notifications from this thread.

Stimulus JS controller not working

1
Javascript

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....

hey were you able to find the issue?

Join the discussion
Create an account Log in