Picture of Jason Chui
No component of that type is installed
by Jason Chui - Monday, 1 July 2019, 1:17 AM
 

I am trying to modify an existing component: adapt-peelBackHot

The original component works, but after I changed the code inside, I get this error:

But I can see the component in src:

 

What else must I do to make the system see the component? I definitely installed it using the Authoring Tool.

Thanks

Picture of Matt Leathes
Re: No component of that type is installed
by Matt Leathes - Monday, 1 July 2019, 1:37 PM
 

What version of the Framework does your authoring tool have? (FYI it's always worth stating both Authoring Tool and FW version whenever you post a problem here)

Picture of Jason Chui
Re: No component of that type is installed
by Jason Chui - Thursday, 4 July 2019, 10:39 PM
 

AT v0.7.1

Adapt Framework v4.1.1

Thanks!

Picture of Matt Leathes
Re: No component of that type is installed
by Matt Leathes - Friday, 5 July 2019, 10:40 AM
 

the problem probably lies here: https://github.com/cgkineo/adapt-peelBackHotspot/blob/master/bower.json#L4

That line states that it only works with v2.x versions of the FW. Not quite sure why it's not warning you that it's not compatible with the version you're running...?

TBH that's a plugin we haven't used for some time. So I have no idea how well it would work. but if you want to give it a go, change:

"framework": "^2.0.0"

to

"framework": ">=2"

bump the plugin version number and re-upload.