RogerHardiman / onvif-audit

Scan a network and create an audit log the camera models and JPEG snapshots
MIT License
58 stars 12 forks source link

The unauthenticated git protocol on port 9418 is no longer supported. #5

Closed bchabrier closed 10 months ago

bchabrier commented 2 years ago

When installing the package, I get the following error:

npm ERR! Error while executing:
npm ERR! /usr/bin/git ls-remote -h -t git://github.com/agsh/onvif.git
npm ERR!
npm ERR! fatal: remote error:
npm ERR!   The unauthenticated git protocol on port 9418 is no longer supported.
npm ERR! Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
npm ERR!
npm ERR! exited with error code: 128
gxj1134506645 commented 2 years ago

Have you solved this problem of github?Now I also have this problem. If you have solved this successfully, please help me,thank you! image

bchabrier commented 2 years ago

Just apply manually the change of #6 : in package.json, replace "onvif": "git://github.com/agsh/onvif.git#cc4e57f" by: "onvif": "https://github.com/agsh/onvif.git#cc4e57f"

RogerHardiman commented 2 years ago

The fix is already in the master branch. @gxj1134506645 - were you using old source code when reporting the issue? Just checking where you got the source from in case I need to update something

Thanks

gxj1134506645 commented 2 years ago

thank you , I have solved this problem,thanks!