Skip to content

Could not find client #1733

@khaledba7rr

Description

@khaledba7rr

I am tring to test my project in dev mode , but suddenly i am receiving that error , (I wasn't receiving that error like 3 hours ago or something ) and have tried everything and still not working

// src/apolloClient.ts
import { ApolloClient, InMemoryCache } from '@apollo/client';

const client = new ApolloClient({
  uri: 'https://bahr-backend-scandi.duckdns.org/graphql', // your endpoint
  cache: new InMemoryCache(),
});

export default client;

@apollo/client version

V ^3.13.6

Apollo Client Devtools version

4.21.9 (Firefox)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions