We've moved discussions to Discord


Dan Tappin
I am following this tutorial in Jumpstart:


and am getting the following errors:

definition.js:34 Uncaught TypeError: constructor.bless is not a function
    at blessControllerConstructor (definition.js:34)
    at blessDefinition (definition.js:28)
    at new Module (module.js:9)
    at Router.loadDefinition (router.js:63)
    at application.js:213
    at Array.forEach (<anonymous>)
    at Application.load (application.js:212)
    at Module../app/javascript/controllers/index.js (index.js:9)
    at __webpack_require__ (bootstrap:19)
    at Module../app/javascript/packs/application.js (application.js:1)

Anyone else see this?
Dan Tappin
I can't get it to work in production.  S-F works on my local machine but silently fails once deploys.  I added a console.log('flatpickr-connect') to my controller and that registers but the date picker fails to work.
Nicholas Seferos
 , did you figure out what is going wrong? I’m experiencing the same issue on my end. 
dusan orlovic
you need to upgrade stimulus package, for example put `"stimulus": "^2.0.0",` in package.json and run `yarn upgrade stimulus`
You’re not receiving notifications from this thread.