-
Notifications
You must be signed in to change notification settings - Fork 77
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
Cannot read property 'trim' of undefined when calling docker-compose ps -q #178
Comments
Highly possible that's how it would behave. Since we expect that we receive a "normal" output from the command, there is no error handling. I guess we could both take care in cases where |
Yes, should be possible. |
I'm not sure, since I had this happen to me only indirectly through @cardano-graphql/cli, and it seems they implemented some workaround on their end already because I used the command again a week ago (before your fix) and it worked flawlessly... EDIT: I just realized I myself had opened a PR that fixed it downstream by pinning the dependency version... But, I'm not sure how to test it properly now, because I don't want to recreate my database again, and that was the command that failed last time - I don't have any actual test setup I'm afraid, I encountered this during fixing some other totally unrelated issue... |
@AlexZeitler I'm seeing this issue when running on Windows (While everything works fine on Linux)
Is this related? Is Windows supported at all? |
I use Windows very rarely and then only as an end user. Maybe we can set up a Windows CI Runner. |
Causing this issue downstream: cardano-foundation/cardano-graphql#552
This happens when
ps
is called with-q
because the output is just a list of hashes - single column, no headers - and your code seems to expect a certain table format inmapPsOutput
.The text was updated successfully, but these errors were encountered: