• 카테고리

    질문 & 답변
  • 세부 분야

    데브옵스 · 인프라

  • 해결 여부

    미해결

3:00 부분부터 오류가 생기는데 어떻게 해결해야 할까요?

22.03.12 17:38 작성 조회수 489

0

Windows PowerShell

Copyright (C) Microsoft Corporation. All rights reserved.

 

새로운 크로스 플랫폼 PowerShell 사용 https://aka.ms/pscore6

 

PS C:\Users\User\git\backfront\backend> npm run dev

 

> backend@0.0.0 dev

> nodemon ./bin/www

 

[nodemon] 2.0.15

[nodemon] to restart at any time, enter `rs`

[nodemon] watching path(s): *.*

[nodemon] watching extensions: js,mjs,json

[nodemon] starting `node ./bin/www`

Not all input has been taken into account at your final specification.

Here's the report: 

 

 

 YAMLSemanticError: Map keys must be unique; "description" is repeated at line 1, column 1:

 

/api/hello:

^^^^^^^^^^^…

 

답변 1

답변을 작성해보세요.

0

 YAMLSemanticError: Map keys must be unique; "description" is repeated at line 1, column 1:

에러 메시지는 description 이 중복되었다고 나옵니다.

들여쓰기가 같아서 그런 것 같습니다. 스페이스 2칸이 기본 들여쓰기입니다.

https://gist.github.com/kenu/606176842b456fd35875e368b3eebb09