我知道有许多类似的问题,但我很难解决这个问题,经过数小时的搜索和编辑我的代码,我无法解决它。但是,在将我的应用程序部署到heroku之后,我得到了以下错误:
Refused to load the script 'https://apis.google.com/js/platform.js'/js/platform.js
我正在尝试使用react-query在下一个JS中获取getServerSideProps中的数据,但是我一直收到这个奇怪的错误:
Error: Error serializing `.dehydratedState.queries[0].state.data.config.adapter` returned from `getServerSideProps` in "/auth/google/callback&
我尝试过使用API和OAuth 2.0。我应该使用哪个API密钥?我犯了什么错误? // 2. Initialize the JavaScript client library. 'apiKey': 'XXXXXX',
// clientId and scope are optional if auth is not required.