VSCode GraphQL Extensions 사용중인데요, 이런 표현 별로 안좋아하지만 ...
# 질문
u
VSCode GraphQL Extensions 사용중인데요, 이런 표현 별로 안좋아하지만 갑자기 안됩니다 (…)
The GraphQL Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted.
라는 에러와 함께, syntax 하이라이팅 말고는 작동하는게 없는데 관련해서 원인 아시는분 계실까요?
모노레포로 구성되어 있고 (클라이언트, 서버) graphql.config.yaml 은 다음과 같이 구성했습니다.
Copy code
schema:
  - apps/client/src/__generated/schema.graphql
documents:
  - apps/server/src/features/**/schema.graphql
  - apps/client/src/**/*.tsx
  - !apps/client/src/__generated/schema.graphql
  - !apps/client/src/__queries/*.ts
확장 버전은 0.3.53 이네요 혹시 싶어서 다른 버전으로 내려도 안되는걸 보니 뭔가 .. 뭔가 안되는듯
h
GraphQL Config 밸리데이션은 해보셧나요
👀 1
LSP 디버그 로그라도 뒤져 보심이
t
당근슬랙 옮겨오기 ㅋㅋ
😂 1
👀 1
u
lsp validate 는 어떻게 써야하는지 모르겠네요. 무슨 명령어를 입력해야 하나요? VSCode output 에 찍힌 로그는 요렇게 나옵니다.
Copy code
// ...

Field "PanContentListContent.title" already exists in the schema. It cannot also be defined in this type extension.

Field "PanContentListContent.description" already exists in the schema. It cannot also be defined in this type extension.

Field "PanContentListContent.contentUrl" already exists in the schema. It cannot also be defined in this type extension.

Field "PanContentL[Error - 3:53:52 PM] Connection to server got closed. Server will not be restarted.
[Info  - 3:53:52 PM] The graphql server has stopped running