did you include a .bowerrc file as per these instructions?
Hi Matt,
I got the same problem I included the .bowerrc.json as below but still got same error.
{
"directory": "src/plugins",
"registry": "http://adapt-bower-repository.herokuapp.com/"
}
Terminal commands are as below.
Microsoft Windows [Version 10.0.18362.295]
(c) 2019 Microsoft Corporation. All rights reserved.
C:\Saral\ADAPT_framework\sample_1>cd src/components/adapt-img-text-reveal
C:\Saral\ADAPT_framework\sample_1\src\components\adapt-img-text-reveal>adapt register
This will publish this plugin to undefined
Confirm name (adapt-img-text-reveal) y
error: Name must prefixed with 'adapt' and each word separated with a hyphen(-)
Confirm name (adapt-img-text-reveal)
Confirm repository URL (git://github.com/saralsharma/adapt-img-text-reveal.git)
Confirm framework (>=3.3)
Confirm Register now? (y)
TypeError: (source || "").trim is not a function
C:\Saral\ADAPT_framework\sample_1\src\components\adapt-img-text-reveal>
I included the .bowerrc.json as below but still got same error.
That's probably because the file needs to be called .bowerrc
not .bowerrc.json
Hi Matt,
I'm too getting this error and could not be able to resolve it.
I have used adapt-cli to create the component and then in the folder contains all the necessary files as you mentioned above:
could I get a link to the github repo containing these files?
Here you go..
https://github.com/rDakarapu-oes/oes-text-comp
Thanks. I get same result at you. It's this issue, we're working on a fix - shouldn't take long.