I'm on Next.js and can't resolve this issue.
I don't find any opened issue in their GitHub.
{
"dependencies": {
"@apollo/client": "^3.7.1",
"@types/apollo-upload-client": "^17.0.2",
"@types/node": "18.11.9",
"@types/react": "18.0.25",
"@types/react-dom": "18.0.9",
"axios": "^1.1.3",
"eslint": "8.27.0",
"eslint-config-next": "13.0.4",
"form-data": "^4.0.0",
"graphql": "^16.6.0",
"next": "13.0.4",
"react": "18.2.0",
"react-dom": "18.2.0",
"styled-components": "^5.3.6",
"typescript": "4.9.3"
}
}
I had the same problem, I made sure I installed both
also make sure you follow the Requirements in npm
But what really worked for me is replacing the adding createUploadLink.mjs to the import, like so
then create the client