inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

따라하며 배우는 도커와 CI환경 [2023.11 업데이트]

Travis CI의 AWS접근을 위한 API 생성

travis ci 배포 시 에러 발생

363

형욱박

작성한 질문수 31

0

안녕하세요 강의 중 

travis ci 배포 후 에러가 발생합니다. 

● Test suite failed to run
295
296 /usr/src/app/src/App.test.js:1
297 ({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,global,jest){import React from 'react';
298 ^^^^^^
299
300 SyntaxError: Cannot use import statement outside a module
301
302 at ScriptTransformer._transformAndBuildScript (node_modules/@jest/transform/build/ScriptTransformer.js:537:17)
303 at ScriptTransformer.transform (node_modules/@jest/transform/build/ScriptTransformer.js:579:25)
304
305Test Suites: 1 failed, 1 total
306Tests: 0 total
307Snapshots: 0 total
308Time: 1.098s
309Ran all test suites.
310npm ERR! code ELIFECYCLE
311npm ERR! errno 1
312npm ERR! docker-react-app@0.1.0 test: `react-scripts test "--" "coverage"`
313npm ERR! Exit status 1
314npm ERR!
315npm ERR! Failed at the docker-react-app@0.1.0 test script.
316npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
317
318npm ERR! A complete log of this run can be found in:
319npm ERR! /root/.npm/_logs/2020-10-20T10_48_56_429Z-debug.log
320The command "docker run -e CI=true joseph/docker-react-app npm run test -- -- coverage" exited with 1.
321
322
323Done. Your build exited with 1.

travis-ci 데이터 엔지니어링 cicd github aws docker

답변 1

0

John Ahn

리액트 코드 부분에 문제가 있는것 같은데요 ? 
그냥 리액트 실행 할 때도 에러가 나지 않나요 ~ ???

Docker Containers간 통신 할 때 나타나는 에러 강의 질문

0

78

1

WINDOW + Vite를 사용하여 소스 코드 변경이 반영되지 않는 현상

0

77

1

도커 컨테이너 끼리 SSL 통신 시 문제가 생깁니다..

0

213

1

도표 강의 자료 사용이 불가합니다. (권한 문제)

0

133

1

Docker compose 관련 공유

0

138

1

트레비스가 유료화가 되어 테스트가 어려워 챕터8에서 고민중입니다.

0

77

1

강사님 혹시 vscode 어떤 테마 쓰시나요..?

0

284

1

The instance profile aws-elasticbeanstalk-ec2-role associated with the environment does not exist.

0

105

1

travis ci가 이제 유료화가 된 것 같습니다;;;

0

208

2

docker-compose up 에러 공유 드립니다

0

290

1

Elastic Beanstalk에서 도메인 클릭시 react 이미지가 안나오고 다른 화면이 나오는데

0

168

1

도커 빌드 시간이 너무 오래걸려요..

0

1051

2

docker-compose down 이후에도 containers에 redis가 남아 있는 이유

0

163

1

도커 볼륨이 작동이 안되는것 같아서 질문드립니다!

0

210

2

docker-compose 가 Docker Desktop 에서 빠진건가요? command not found 라고 뜨네요

0

276

1

Error response from daemon: The system cannot find the file specified.

0

218

1

draw.io 오류

0

642

1

Docker Volume 오류(reference, lowercase)

0

563

1

[섹션3 - 내가 만든 이미지 기억하기 쉬운 이름 주기] 네이밍/태그 에러

0

224

1

axios오류 문의드립니다!

0

332

1

node.js version

0

483

1

안녕하세요 마지막 강의 질문 있습니다.

0

431

1

Deploy를 계속 실패합니다.

3

1378

4

TravisCI에서 계속 에러가 납니다....

0

354

1