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
document router invocation error #257
Comments
Also referenced here: webgme/bindings#7 |
Thanks, @yogeshVU. After looking into this a bit more, it looks like there are two things going on here:
|
Does that fix hints the source of the error? (no such component or something) |
When the CLI searches for a component, it first looks in webgme-setup.json then tries to search in the GME config if it fails. The error was a result of the CLI searching incorrectly in the GME config for the router. There are a few fixes that could happen here:
The first approach is the bare minimum (and the approach I took :) ). Essentially, if the error is fixed, then the CLI will still not find the router (as no router with the given name exists) and it will automatically print out the "component not found" error (I forget what the exact wording is). Printing out the available routers - or a sort of "did you mean X?" - message would be a good idea but can be viewed as a separate feature imo. (Not to take away from its usefulness as a feature as it does seem like it would be useful!) |
Environment:
ubuntu 18.04
webgme-cli version (
webgme -v
):v2.8.3
Operating system and kernel: (
cat /etc/os-release
,uname -r
preferred)NodeJS version (
node -v
):v8.9.0
npm version (
npm -v
):5.5.1
Description:
In the Getting started readme:
Error when invoking documentation router for python-plugin
Steps to Reproduce:
Results:
In the Getting started readme:
When trying to execute the
One get's following error
The text was updated successfully, but these errors were encountered: