Closed RichAyotte closed 5 years ago
This looks more like a https://github.com/mscdex/ssh2-streams issue. I'll post the error there.
The ssh2 and ssh2-streams dependencies are outdated in this package and are causing this issue.
The problem is fixed in the latest version of ssh2-streams 0.2.1 and ssh2 at 0.6.1.
Thanks a lot @RichAyotte for pointing it out. Let me fork a branch to test it out. if you could test it at your end, then i could publish it to npm.
@sanketbajoria thanks for creating the issue#10 branch. The octothorp "#" in the branch name is giving me/yarn a hard time though. Something like the following usually works but I'm not sure how to escape the the "#" in the branch name.
yarn add https://github.com/sanketbajoria/ssh2-promise.git#issue#10
I also tried a bunch of combinations like
yarn add https://github.com/sanketbajoria/ssh2-promise.git#issue%2310
Any ideas?
@RichAyotte , my bad. seems like yarn don't support it https://github.com/yarnpkg/yarn/pull/4881
I will rename the branch and push it again
I have renamed the branch from issue#10 to issue10
I've confirmed that the issue10 branch fixes the problem. Thank you.
@RichAyotte Thanks a lot for confirming it. Merged it and pushed to npm repository
The following works fine on node v8.12.0 but fails with an
Unknown message digest
on v10.12.0DEBUG