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

Deploy log:

Site name: https://brilliant-crisp-887eb0.netlify.app/
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://git@github.com/ethereumjs/ethereumjs-abi.git
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://git@github.com/ethereumjs/ethereumjs-abi.git#ee3994657fa7a427238e6ba92a84d0b529bbcde0", 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": "https://registry.npmjs.org/ethereumjs-abi/-/ethereumjs-abi-0.6.8.tgz"

Reference: https://github.com/ethereumjs/ethereumjs-abi/issues/67#issuecomment-883925806

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: