Yarn - git error “Host key verification failed.”

Hi.
I installed a dependency by github as shown on this package.json here:

"dependencies": {
     ...
    "discord.js": "github:vecchiotom/discord.js",
    ...
  }

When I start the server. I’ve got a git error saying “Host key verification failed.” as shown on this console here:
image

Can anyone help me on this? For info: git is installed on my computer no problem

Don’t use github: prefix, it is very moody, just use git+https://github.com/user/repo.git.

Thanks, it works. I’ve also seen that you can register the ssh key on github following this ssh - Git error: "Host Key Verification Failed" when connecting to remote repository - Stack Overflow