Closed
Description
Hi,
With this setup:
import { createUploadLink } from "apollo-upload-client"
...
const client = new ApolloClient({
link: createUploadLink({ uri: "http://localhost:3002/graphql" }),
cache: new InMemoryCache(),
})
I got an error : TypeError: Object(...) is not a function coming from webpack_require
But with:
import { createHttpLink } from "apollo-link-http"
...
const client = new ApolloClient({
link: createHttpLink({ uri: "http://localhost:3002/graphql" }),
cache: new InMemoryCache(),
})
It works
Do I miss something?
Metadata
Metadata
Assignees
Labels
No labels