Hi,
I've successfully created several custom components for adapt and have a good understanding of what needs to be done to get them to work properly. Starting today every custom component I try to add is either not being registered successfully or freezes the page on the loading screen sometimes with errors visible in the console and sometimes without. I have a suspicion something is going wrong in the build process. I even used a known working custom component and I get the same results. I can't think of anything on my end thats changed to cause this.
Some of the errors I'm getting:
This one is from a known working component:
Uncaught TypeError: template is not a function
at n.render (adaptView.js:37)
at n.initialize (adaptView.js:21)
at n.initialize (componentView.js:21)
at n.e.View (backbone.min.js:2)
at n [as constructor] (backbone.min.js:2)
at n [as constructor] (backbone.min.js:2)
at new n (backbone.min.js:2)
at n.addChildren (adaptView.js:91)
at n.postRender (adaptView.js:28)
at n.<anonymous> (adaptView.js:43)
This one seems to be failing to register even though the bower.json file is set up properly as is the js file the packages.schema, and the package.json. The handlebars and less files are named properly and the component folder is named properly:
Uncaught Error: textOverlay component not found. Is it installed and included?
at new model (app.js:206)
at n._prepareModel (backbone.min.js:2)
at n.set (backbone.min.js:2)
at n.add (backbone.min.js:2)
at n.reset (backbone.min.js:2)
at Object.t.success (backbone.min.js:2)
at i (jquery.v2.min.js:2)
at Object.fireWith [as resolveWith] (jquery.v2.min.js:2)
at z (jquery.v2.min.js:4)
at XMLHttpRequest.<anonymous> (jquery.v2.min.js:4)
I'm hoping maybe you guys can shed some light on this although it's not exactly a lot of info to go on.
Thanks,
Sean