-
[에러대백과] visitFn.call is not a functionWEB Dev/에러대백과 2023. 1. 24. 16:55728x90
GraphQL과 타입스크립트로 개발하는 웹서비스 작업 중
클라이언트 측 graphql - GraphQL Code Generate 세팅에서 visitFn.call is not a function 에러 발생
기존 GraphQL 버전 16.6.0에서 15.7.2로 다운그레이드 하고 해결
현재 GraphQL 및 Codegen의 버전은 아래와 같음
"dependencies": { "@apollo/client": "^3.7.3", "@chakra-ui/react": "^2.4.6", "@emotion/react": "^11.0.0", "@emotion/styled": "^11.0.0", "@graphql-codegen/add": "^2.0.2", "@graphql-codegen/cli": "^1.21.8", "@graphql-codegen/typescript": "^1.23.0", "@graphql-codegen/typescript-operations": "^1.18.4", "@graphql-codegen/typescript-react-apollo": "^2.3.1", "@testing-library/jest-dom": "^5.16.4", "@testing-library/react": "^13.0.1", "@testing-library/user-event": "^14.1.0", "@types/jest": "^28.1.1", "@types/node": "^12.0.0", "@types/react": "^18.0.9", "@types/react-dom": "^18.0.4", "framer-motion": "^6.2.9", "graphql": "^15.7.2", "react": "^18.1.0", "react-dom": "^18.1.0", "react-icons": "^3.0.0", "react-scripts": "5.0.1", "typescript": "^4.6.3", "web-vitals": "^2.1.4" },
728x90'WEB Dev > 에러대백과' 카테고리의 다른 글
[에러대백과] yarn 으로 create-react-app 설치 중 에러 (n 명령어로 node 버전 수정) (0) 2023.02.26 [에러대백과] aws 서버 pem 키로 접속 시 denied 해결 (0) 2023.01.30 [에러대백과] 리액트 Suspense 사용하고 에러나는 경우 Feed suspended while rendering, but no fallback UI was specified (0) 2022.07.31 [에러대백과] 리액트 github page 페이지 배포 시 빈 화면 등장 (0) 2022.05.27 [에러대백과] Attempted import error: ' ' does not contain a default export (0) 2022.05.16