Skip to content
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

Running on Jenkins Linux "Execute Shell Script" #26

Closed
JonathonCwik opened this issue May 28, 2020 · 3 comments
Closed

Running on Jenkins Linux "Execute Shell Script" #26

JonathonCwik opened this issue May 28, 2020 · 3 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@JonathonCwik
Copy link

Getting this error when running "Execute Shell" command with pg-diff:

TypeError: process.stdout.clearLine is not a function
at EventEmitter. (/home/ubuntu/.nvm/versions/node/v12.16.1/lib/node_modules/pg-diff-cli/main.js:74:21)
at EventEmitter.emit (events.js:200:13)
at Function.compare (/home/ubuntu/.nvm/versions/node/v12.16.1/lib/node_modules/pg-diff-cli/node_modules/pg-diff-api/src/api/CompareApi.js:19:16)
at PgDiff.compare (/home/ubuntu/.nvm/versions/node/v12.16.1/lib/node_modules/pg-diff-cli/node_modules/pg-diff-api/src/index.js:36:27)
at Run (/home/ubuntu/.nvm/versions/node/v12.16.1/lib/node_modules/pg-diff-cli/main.js:78:39)
at Object. (/home/ubuntu/.nvm/versions/node/v12.16.1/lib/node_modules/pg-diff-cli/main.js:14:1)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:643:32)
at Function.Module._load (internal/modules/cjs/loader.js:556:12)

@michaelsogos michaelsogos self-assigned this May 29, 2020
@michaelsogos michaelsogos added the bug Something isn't working label May 29, 2020
@michaelsogos michaelsogos added this to the Milestone 2.0 milestone May 29, 2020
@michaelsogos
Copy link
Owner

Hi @JonathonCwik ,

Thanks for the issue.
I was using a long time deprecated nodejs stdout methods.

It has been fixed in v2.0.4
At the moment i don't have a unix machine with me to test it, can i ask you to test it for me?

@JonathonCwik
Copy link
Author

@michaelsogos This is fixed 👍

@michaelsogos
Copy link
Owner

Great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

2 participants