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

Builds failing due to reference to github hosted "restler" package. #47

Closed
kopertop opened this issue Mar 5, 2021 · 2 comments
Closed

Comments

@kopertop
Copy link

kopertop commented Mar 5, 2021

Client version

4.3.1

Expected behaviour

Build should work

Actual behaviour

Build fails

Steps to reproduce

npm install sendwithus

This fails with the following error on a CodeBuild instance:


npm ERR! Error while executing:
--
275 | npm ERR! /usr/bin/git ls-remote -h -t ssh://[email protected]/sendwithus/restler.git
276 | npm ERR!
277 | npm ERR! Host key verification failed.
278 | npm ERR! fatal: Could not read from remote repository.
279 | npm ERR!
280 | npm ERR! Please make sure you have the correct access rights
281 | npm ERR! and the repository exists.
282 | npm ERR!
283 | npm ERR! exited with error code: 128
284 |  
285 | npm ERR! A complete log of this run can be found in:
286 | npm ERR!     /root/.npm/_logs/2021-03-05T20_07_59_815Z-debug.log

Even the build badge on the README file here says this build is failing, so I'm pretty sure there's an issue with the restler package referenced in this repository. I'm also not sure why this package would be referenced by a github URL rather than an npm proper package.

@phil-ma
Copy link
Member

phil-ma commented Apr 14, 2021

Hi @kopertop, thanks for reaching out!

I looked into the failing build issue and this was due to a failing test that occurred on a race condition. This seems to be separate from the issue you're experiencing.

The reason we have a GitHub URL referenced in the dependencies list is because we released a patched version of restler. This was due to a vulnerability concern with one of the dependencies within that package that has not been merged in yet. More information can be found here: #44

I did some investigation into the error message you received and I believe it's due to an issue with npm v7. There's an open issue where npm uses ssh instead of https where referenced. It looks like it should still work with npm v6, but there might be a couple workarounds in that thread to help until that issue is resolved on v7.

@brandond-dyspatch
Copy link
Contributor

Im going to be closing this issue due to lack of activity. If this issue is persists, please remake this issue in sendwithus/restler.

I do suggest updating your client version to our most recent release, and/or updating node and npm versions, if possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants