Deployment fails due to a peculiar dependency ethereumjs-abi.git

Deploy log:
Site name:
Note: My repo is public, and I have deployed dozens of Netlify react apps before.
The problem is occuring due to the following:

11:21:14 AM: Arguments: ls-remote --tags --heads ssh://
11:21:14 AM: Host key verification failed.
11:21:14 AM: fatal: Could not read from remote repository.
11:21:14 AM: Please make sure you have the correct access rights

I have currently redeployed my project to github using SSH instead of http to see if this dependency issue gets resolved. It didn’t. It brought up a whole new set of issues with Error checking out submodules: fatal: No url found for submodule path 'degenalysis-alpha' in .gitmodules

I have reinstalled npm dependencies and now I am getting a whole new error:

hi zubin, i can’t see that log for some reason. did you delete the site?

Yes I deleted it, reinstalled npm and retried here: Netlify App
Now it cant find the gitmodules.

@perry I re-created the whole repo. Netlify keeps having trouble with one of the modules. Netlify App

It seems even this is deleted.

The problem was happening due to the fact that the dependency was being imported as "resolved": "git+ssh://", so netlify could not access it without the git ssh.

I fixed the issue by going to package.json and changing the above line to "resolved": ""

Reference: Error can not install · Issue #67 · ethereumjs/ethereumjs-abi · GitHub

Hey there, @zubin :wave:

Thanks so much for coming back and sharing your solution, this will help future Forums members who encounter something similar. Glad everything is working now.

Happy building :rocket: