-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update fails if a plugin is not bower registered #180
Comments
It looks like there is a similar error when running |
adapt-cli/lib/integration/Plugin.js Line 292 in 5950af6
@oliverfoster What about changing this line to:
This seems to resolve the issue. |
I can't replicate on version 3.1.4 in either case, for adapt update and adapt ls. Please reopen if you have replication instructions. |
@oliverfoster I am also using 3.1.4. Will you try this?
Result:
|
That helped. Thanks. |
🎉 This issue has been resolved in version 3.1.5 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Subject of the issue/enhancement/features
Running
adapt update
may produce a runtime error if there are plugins not registered with bower registry being used.The cause seems to be trying to read
_sourceInfo
ingetMatchingVersion
(Plugin.js). The property isnull
if trying to retrieve bower info from a registry that does not have the requested plugin registered.Your environment
Steps to reproduce
See description
Expected behaviour
The
update
command should skip unregistered pluginsActual behaviour
The text was updated successfully, but these errors were encountered: