最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - CombinedError: [GraphQL] Experience with id doesn't exist - Stack Overflow

programmeradmin2浏览0评论

I am using dynamic configuration for my expo app and it seems that, that's causing some problem when trying to expo build. I have linked the expo project correctly to the eas project and upon running any mand that start with expo build I am thrown the following error :

CombinedError: [GraphQL] Experience with id 'xxx-1xxx-4xxx-bx-baxxxfc' does not exist.

I suspect my app.config.json is the problem but I have no idea on how to fix it

import "dotenv/config";

export default {
  expo: {
    name: "LetsChat",
    slug: "LetsChat",
    version: "1.0.0",
    scheme: ".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: ".bertdelaspeed.letschat",
      googleServicesFile: "./google-services.json",
      adaptiveIcon: {
        foregroundImage: "./assets/adaptive-icon.png",
        backgroundColor: "#FFFFFF",
      },
    },
    web: {
      favicon: "./assets/favicon.png",
    },
    extra: {
      apiKey: process.env.API_KEY,
      authDomain: process.env.AUTH_DOMAIN,
      projectId: process.env.PROJECT_ID,
      storageBucket: process.env.STORAGE_BUCKET,
      messagingSenderId: process.env.MESSAGING_SENDER_ID,
      appId: process.env.APP_ID,
      measurementId: process.env.MEASUREMENT_ID,
      eas: {
        projectId: "xxx-1xxx-4xxx-bx-baxxxfc",
      },
    },
    plugins: [
      [
        "expo-image-picker",
        {
          photosPermission:
            "The app accesses your photos to let you share them with your friends.",
        },
      ],
    ],
  },
};

I am using dynamic configuration for my expo app and it seems that, that's causing some problem when trying to expo build. I have linked the expo project correctly to the eas project and upon running any mand that start with expo build I am thrown the following error :

CombinedError: [GraphQL] Experience with id 'xxx-1xxx-4xxx-bx-baxxxfc' does not exist.

I suspect my app.config.json is the problem but I have no idea on how to fix it

import "dotenv/config";

export default {
  expo: {
    name: "LetsChat",
    slug: "LetsChat",
    version: "1.0.0",
    scheme: ".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: ".bertdelaspeed.letschat",
      googleServicesFile: "./google-services.json",
      adaptiveIcon: {
        foregroundImage: "./assets/adaptive-icon.png",
        backgroundColor: "#FFFFFF",
      },
    },
    web: {
      favicon: "./assets/favicon.png",
    },
    extra: {
      apiKey: process.env.API_KEY,
      authDomain: process.env.AUTH_DOMAIN,
      projectId: process.env.PROJECT_ID,
      storageBucket: process.env.STORAGE_BUCKET,
      messagingSenderId: process.env.MESSAGING_SENDER_ID,
      appId: process.env.APP_ID,
      measurementId: process.env.MEASUREMENT_ID,
      eas: {
        projectId: "xxx-1xxx-4xxx-bx-baxxxfc",
      },
    },
    plugins: [
      [
        "expo-image-picker",
        {
          photosPermission:
            "The app accesses your photos to let you share them with your friends.",
        },
      ],
    ],
  },
};
Share Improve this question asked Jan 28, 2023 at 11:47 LaspeedLaspeed 1,0891 gold badge14 silver badges34 bronze badges 1
  • Hello @laspeed I think my answer is justified so please can you accept my answer. – Manish Singh Chouhan Commented Mar 3 at 9:08
Add a ment  | 

1 Answer 1

Reset to default 8

You may need to change the project id field in your app.json under extra.eas.projectId - it appears to somehow be set to an incorrect value

You will get the product id from app.json under Extra --> eas --> ProjectID

发布评论

评论列表(0)

  1. 暂无评论