0

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"
  }
}
Pompedup
  • 566
  • 2
  • 8
FaruQ
  • 3
  • 1
  • 2
  • Did you install the module? – Pompedup Nov 20 '22 at 14:50
  • yes I did, see package.json file. "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" }, – FaruQ Nov 21 '22 at 11:33
  • I see `@types/apollo-upload-client` but I can't see `apollo-upload-client` module Try `npm install apollo-upload-client` – Pompedup Nov 21 '22 at 11:54
  • 1
    Lil advice, you should install all the `@types/...` as dev dependencies, they are not useful one the build is done – Pompedup Nov 21 '22 at 11:55
  • @Pompedup adding @types/apollo-upload-client and apollo-upload-client both worked for me. Thank you bruh! – FaruQ Nov 21 '22 at 20:17
  • Great! I’m happy for you (: – Pompedup Nov 21 '22 at 21:48

0 Answers0