-
-
Notifications
You must be signed in to change notification settings - Fork 77
unable to load available versions from Elastic API file #6
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
Comments
As you can see the path for the module that is running is https://github.com/nodkz/graphql-compose-elasticsearch/blob/master/src/ElasticApiParser.js#L126 which is seeking a path relative to the current directory, not the node module. |
Did you install |
Would you not be better off finding the path by going relative to the Even better, is it not possible to use the ElasticSearch module itself to get the information you need? const es = require('elasticsearch');
console.log(es.Client.apis); Or is that information different to what you want? |
Yes, it's installed, but all modules are global. (It's in a Docker container.) |
So to be explicit, the |
const es = require('elasticsearch');
console.log(es.Client.apis); Of course it's better. Can you open PR? |
Ha! I might be able to, but getting a dev environment set up might be a little bit time-consuming. I'll see what I can do tomorrow. |
Tnx. I'm almost always online and can merge and publish new version from mobile. |
Travis tests cover your upcoming changes, so if you want you may send PR via online file edit 😈 |
Oh...that's a good idea. Thanks. |
@markbirbeck please test latest version 1.7.11 |
The text was updated successfully, but these errors were encountered: