docker-compose build 했을때 에러
섹션 27. Nest.js
08-06 Docker 패키징
강의를 따라서 docker-compose build 를 했더니
아래와 같은 에러가 나옵니다.

> [5/6] RUN yarn install:
#0 2.639 yarn install v1.22.19
#0 3.290 [1/4] Resolving packages...
#0 5.360 [2/4] Fetching packages...
#0 66.77 info There appears to be trouble with your network connection. Retrying...
#0 100.1 info There appears to be trouble with your network connection. Retrying...
#0 141.5 error @graphql-tools/merge@9.0.0: The engine "node" is incompatible with this module. Expected version ">=16.0.0". Got "14.21.3"
#0 141.5 error Found incompatible module.
#0 141.5 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
------
failed to solve: process "/bin/sh -c yarn install" did not complete successfully: exit code: 1
챗gpt 한테 물어보니까
이 오류는
@graphql-tools/merge모듈의 버전 9.0.0이 설치되지 않았으며, 해당 모듈은 Node.js 엔진의 버전이 16.0.0 이상이어야 작동한다는 것을 의미합니다. 그러나 현재 사용 중인 Node.js 버전은 14.21.3이기 때문에 설치할 수 없다는 오류입니다.
라고 하길래
Dockerfile 의
FROM node:14 이 부분을
FROM node:16 으로 수정하고 다시
docker-compose build 를 했더니 에러가 안나는데
이렇게 node를 16으로 수정하고 강의를 따라가도 문제가 없을까요?
답변 1
그래프 ql 문서 사용할때 느낌표 남는거 어떻게 없애나요?
0
84
2
강의 전체 소스 코드를 받고싶습니다.
0
76
2
fontawesome 사용 문의
0
79
2
소스 코드 부탁드립니다~
0
85
2
깃 레포지터리 소스
0
87
2
커리큘럼12.css 정렬 에 나오는 과제 정답알고싶어요
0
74
2
10-01 Entity TypeOrmModule.forRoot 에 entities
0
89
3
강의 버전관련 문의입니다
0
103
2
Ubuntu 설치 관련
0
61
1
schema.gql 질문 드립니다.
0
51
1
서버 재실행시 Many to Many
0
102
3
input 관련 문의
0
90
2
Rest API 보다는 graphql이 주된 내용인데
0
131
2
강의 전체 소스코드 받을수있을까요?
0
156
1
도커볼륨 마운트 관련
0
127
2
findOne 타입스크립트오류
0
109
1
http => htrtps 호출 인증서 신뢰 오류
0
354
1
self-signed certificate in certificate chain 에러 발생
0
418
1
mongoose 설치 오류
0
142
1
특정 API, 특정 IP 허용 (단일경로에 CORS 활성화)
0
283
2
08-06
0
180
3
구조랑 패턴 관련해서 질문
0
125
2
mydocker
0
128
2
coolsms statuscode 2000 인데 전송안돼는 경우 확인.
0
156
1





