我遇到了 Heroku 的部署問題。昨天,我能夠毫無問題地進行部署——今天早上,我在 MongoDB 上構(gòu)建了一個新集群,并使用新的連接字符串將更改推送到 git。沒有進行其他更改。推送到 git 后,我跑了git push heroku master,遇到以下錯誤:. . .remote: added 1812 packages from 857 contributors and audited 932744 packages in 66.192sremote: remote: 65 packages are looking for fundingremote: run `npm fund` for detailsremote: remote: found 0 vulnerabilitiesremote: remote: remote: > client@0.1.0 build /tmp/build_3fd8925946ec2800b115594ca20fb426/clientremote: > react-scripts buildremote: remote: Creating an optimized production build...remote: Failed to compile.remote: remote: ./node_modules/simple-react-lightbox/dist/index.es.jsremote: Cannot find module: 'fast-deep-equal/react'. Make sure this package is installed.remote: remote: You can install this package by running: yarn add fast-deep-equal/react.. . .自然,我做的第一件事就是嘗試yarn add fast-deep-equal/react按照建議運行,這引發(fā)了下一個錯誤,error Command failed.Exit code: 128Command: gitArguments: ls-remote --tags --heads ssh://git@github.com/fast-deep-equal/react.gitDirectory: /Users/me/my-appOutput:Host key verification failed.fatal: Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists.我已經(jīng)調(diào)試了幾個小時了,我似乎無法找到解決方案。這里會發(fā)生什么?
無法部署到 Heroku,未進行任何更改
拉風(fēng)的咖菲貓
2022-06-16 17:25:17