我有一个使用 Next Auth 的 Next js 应用程序。在开发过程中,我不断收到警告,要求我设置秘密,但我不知道应该在哪里设置。
根据此参考资料,我发现我只需要运行即可openssl rand -base64 32获取秘密,但我不知道将其放在哪里
我正在为我的博览会应用程序使用动态配置,这似乎在尝试时导致了一些问题expo build。我已将 expo 项目正确链接到 eas 项目,并且在运行以expo build我开头的任何命令时会抛出以下错误:
CombinedError: [GraphQL] Experience with id 'xxx-1xxx-4xxx-bx-baxxxfc' does not exist.
我怀疑我的 app.config.json 是问题所在,但我不知道如何修复它
import "dotenv/config";
export default {
expo: {
name: "LetsChat",
slug: "LetsChat",
version: "1.0.0",
scheme: "com.bertdelaspeed.letschat",
orientation: "portrait",
icon: "./assets/icon.png",
userInterfaceStyle: "light",
splash: {
image: "./assets/splash.png",
resizeMode: "contain",
backgroundColor: "#ffffff",
},
updates: {
fallbackToCacheTimeout: 0,
},
assetBundlePatterns: ["**/*"],
ios: {
supportsTablet: true,
},
android: {
package: "com.bertdelaspeed.letschat",
googleServicesFile: "./google-services.json",
adaptiveIcon: {
foregroundImage: "./assets/adaptive-icon.png",
backgroundColor: "#FFFFFF",
},
},
web: …Run Code Online (Sandbox Code Playgroud)