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

Deploy log:
https://app.netlify.com/sites/brilliant-crisp-887eb0/deploys/62be8b46ccc7c016e48d33b1
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:
https://app.netlify.com/sites/teal-longma-f87485/deploys/62beccb2cb556e4381558925

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: 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: