inflearn logo
강의

Course

Instructor

Create your own API server without coding with Strapi

Strapi v5 버전의 프로젝트 실행이 안되네요.

Resolved

267

somestory

1 asked

0

안녕하세요.

열심히 따라하고있습니다 ^^

 

질문 :

로컬 pc 에서 v5 로 프로젝트 생성해서 처음 실행하려는데 에러가 나면서 실행이 안되네요.

v4 버전할때는 강의 따라해도 문제없이 잘 됐었습니다.

 

에러 내용 :

C:\dev\strapi5_test> npm run develop

> strapi-5-test@0.1.0 develop

> strapi develop

⠋ Loading Strapi⠋ Building build context

[INFO] Including the following ENV variables as part of the JS bundle:

- ADMIN_PATH

- STRAPI_ADMIN_BACKEND_URL

- STRAPI_TELEMETRY_DISABLED

✔ Building build context (73ms)

✔ Creating admin (489ms)

✔ Loading Strapi (1826ms)

✔ Generating types (315ms)

node:events:497

throw er; // Unhandled 'error' event

^

Error: bind EACCES null:5173

at listenOnPrimaryHandle (node:net:1985:18)

at rr (node:internal/cluster/child:163:12)

at Worker.<anonymous> (node:internal/cluster/child:113:7)

at process.onInternalMessage (node:internal/cluster/utils:49:5)

at process.emit (node:events:531:35)

at process.processEmit [as emit] (C:\dev\strapi5_test\node_modules\signal-exit\index.js:199:34)

at emit (node:internal/child_process:951:14)

at process.processTicksAndRejections (node:internal/process/task_queues:83:21)

Emitted 'error' event on Server instance at:

at listenOnPrimaryHandle (node:net:1986:21)

at rr (node:internal/cluster/child:163:12)

[... lines matching original stack trace ...]

at process.processTicksAndRejections (node:internal/process/task_queues:83:21) {

errno: -4092,

code: 'EACCES',

syscall: 'bind',

address: null,

port: 5173

}

Node.js v20.18.0

C:\dev\strapi5_test>

 

바쁘시겠지만 시간 괜찮으실때 한번 봐주세요~

감사합니다.

 

node.js mysql backend strapi ec2

Answer 1

1

teracokr

네 안녕하세요 강의 잘 따라해주셔서 감사합니다.

 

에러 내용만 보면


errno: -4092, code: 'EACCES', syscall: 'bind', address: null, port: 5173 }

 

5173 포트에 접근권한이 없다고 하네요.

strapi 실행포트를 1337에서 5173으로 변경했을까요?

기존에 5173으로 띄워놓은 뭔가 있다면 그것을 중단하시거나, Strapi 포트를 다른 걸로 바꿔보시겠어요?

 

(새벽2시에 감동 받으셨다하셨는데 저는 그 리뷰 새벽4시반에 보고 감동 받았습니다. 감사합니다. 알아주셔서~~)

 

0

somestory

특별히 뭘 더 한건 아닌데 확인해보겠습니다~

어딘가에서 포트 충돌이있나봐요 ^^

빠른 답변 감사합니다~

Jib 빌드가 83%에서 멈추는 문제 해결(windows 사용자)

1

7

0

pk를 auto increment로 하는것에 대해서

0

11

1

트랜잭션 내 Redis I/O 에 대한 궁금한점

1

25

1

강의자료 받았는데요

0

49

1

getOrCreate / Unique? 멱등 처리 질문

1

59

2

경쟁상태

0

49

1

stmt

0

41

1

실행 통계2 explain analyze 조인 쿼리

0

45

1

조회 메서드에서 @Transactional(readOnly=true) 질문

1

41

1

[해결됨]마지막 강의 내용 수정 화면이 기능을 못하네요.

0

49

1

[해결됨]부분적으로 화면 이동이 안되는 부분이 있습니다.

0

85

6

68강 문제 풀이

0

43

1

현대 쿼리 복잡성에 관한 질문

0

90

3

key_length 가 사용되는곳

0

44

1

낙관적락 질문있습니다.

0

44

1

해당 결제 부분을 포폴에서 테스트 api를 적용에 대한 궁금증

1

46

1

댓글순서부여방식

0

44

1

공통 코드 VS Enum 클래스

1

47

1

movablePageCount와 pageSize 상수

0

37

1

JPA와 네이티브 쿼리

0

44

1

aws 계정 생성 질문

1

66

1

verify.sh 4단계 실패 — Jenkins 컨테이너에서 127.0.0.1:6443 connection refused

0

62

2

안녕하세요.

0

52

1

감정일기장 다이어리 필터 적용할때 컨텍스트를 Home에서 가져오는 특별한 이유가 궁금합니다.

0

58

2