我想做的就是 npm install openai realtime API,但权限被拒绝。
npm i openai/openai-realtime-api-beta
npm error code 128
npm error An unknown git error occurred
npm error command git --no-replace-objects ls-remote ssh://[email protected]/openai/openai-realtime-api-beta.git
npm error [email protected]: Permission denied (publickey).
npm error fatal: Could not read from remote repository.
npm error
npm error Please make sure you have the correct access rights
npm error and the repository exists.
看来这是你的问题:
[email protected]: Permission denied (publickey)
npm
正在尝试克隆 /openai/openai-realtime-api-beta.git
存储库,但无法通过 SSH 连接,因为您的公钥尚未在 GitHub 上注册。
GitHub 有一个关于如何设置的演练。一旦您按照分步说明进行操作,这应该对您有用。