You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
I did a global install of bionode, which installed /usr/bin/bionode in my $PATH.
When I run "bionode" I get this error:
Please check the documentation at http://doc.bionode.io
events.js:72
throw er; // Unhandled 'error' event
^
Error: spawn ENOENT
at errnoException (child_process.js:1001:11)
at Process.ChildProcess._handle.onexit (child_process.js:792:34)
Is this expected behaviour?
I notice it downloaded and installed a bunch of tools, and I can see them in /usr/lib/node_modules/bionode/node_modules/ including a subfolder bionode-ncbi but I don't have any tool called bionode-ncbi I can run?
I've never really used npm/Node software before, so any help appreciated.
The text was updated successfully, but these errors were encountered:
Hi Torsten, first of all, sorry for the slow response!
Is this expected behaviour?
Well... In a way ;) After reproducing and looking at the code I found that it's expected behavior, but a very unhelpful error message, which we should improve: bionode-ncbi expects you to pass some arguments, e.g. bionode ncbi search taxonomy solenopsis. See the README.md for more usage examples.
Thanks for the link. I talked to @bmpvieira last night about replacing the library that is currently used for argument parsing so that we can easily have things like usage info, argument validation, etc. I'll create a new issue later, probably against bionode/bionode as this affects all sub-projects.
Thanks @tseemann. This is one of those obvious issues that should have been fixed by now but hasn't due to lack of time and also because of the minimal library used for parsing arguments (minimist). As @c089 said, we'll switch to a more full-blown parser (yargs) and add this.
Since it's not limited to bionode-ncbi, I'm closing this and you can follow the new issue at bionode/bionode#25.
In the meantime, you can check each module's README.md which links to the documentation (e.g., bionode-ncbi docs) and the global docs at doc.bionode.io, resulting from the concatenation of all individual html docs (WIP: bionode/bionode#27).
I did a global install of bionode, which installed
/usr/bin/bionode
in my$PATH
.When I run "bionode" I get this error:
Is this expected behaviour?
I notice it downloaded and installed a bunch of tools, and I can see them in
/usr/lib/node_modules/bionode/node_modules/
including a subfolderbionode-ncbi
but I don't have any tool calledbionode-ncbi
I can run?I've never really used npm/Node software before, so any help appreciated.
The text was updated successfully, but these errors were encountered: