인프런 커뮤니티 질문&답변

플럭서스님의 프로필 이미지

작성한 질문수

야, 너도 AI 서비스 만들 수 있어. [이미지 AI 서비스 서버리스 풀스택]

Lecture 1-2 - Node 설치(18이상), VSCode 설치, SST 프로젝트 만들기

npx sst dev 오류

해결된 질문

작성

·

342

0

위 명령어를 실행했을때 아래와같은 오류가 나타납니다..

어떻게 해결해야할까요. 시작부터 막히네요..

 

SST v2.40.3 ready!

➜ App: raymong-lecture-follow

Stage: dev

Console: https://console.sst.dev/local/raymong-lecture-follow/dev

Error: Invalid character in header content ["authorization"]

Trace: TypeError: Invalid character in header content ["authorization"]

at __node_internal_captureLargerStackTrace (node:internal/errors:490:5)

at new NodeError (node:internal/errors:399:5)

at __node_internal_ (node:_http_outgoing:643:11)

at ClientRequest.setHeader (node:_http_outgoing:666:3)

at new ClientRequest (node:_http_client:292:14)

at request (node:https:360:10)

at C:\Users\user\Documents\GitHub\raymong-lecture-follow\node_modules\@smithy\node-http-handler\dist-cjs\index.js:233:19

at new Promise (<anonymous>)

at _NodeHttpHandler.handle (C:\Users\user\Documents\GitHub\raymong-lecture-follow\node_modules\@smithy\node-http-handler\dist-cjs\index.js:189:12)

at async C:\Users\user\Documents\GitHub\raymong-lecture-follow\node_modules\@smithy\middleware-serde\dist-cjs\index.js:33:24

at async C:\Users\user\Documents\GitHub\raymong-lecture-follow\node_modules\@smithy\core\dist-cjs\index.js:165:18

at async StandardRetryStrategy.retry (C:\Users\user\Documents\GitHub\raymong-lecture-follow\node_modules\@aws-sdk\middleware-retry\node_modules\@smithy\middleware-retry\dist-cjs\StandardRetryStrategy.js:51:46)

at async C:\Users\user\Documents\GitHub\raymong-lecture-follow\node_modules\@aws-sdk\middleware-logger\dist-cjs\index.js:33:22

at async file:///C:/Users/user/Documents/GitHub/raymong-lecture-follow/node_modules/sst/iot.js:7:22

at async file:///C:/Users/user/Documents/GitHub/raymong-lecture-follow/node_modules/sst/iot.js:24:22

at async file:///C:/Users/user/Documents/GitHub/raymong-lecture-follow/node_modules/sst/cli/commands/dev.js:304:25

at async Promise.all (index 2)

at async Object.handler (file:///C:/Users/user/Documents/GitHub/raymong-lecture-follow/node_modules/sst/cli/commands/dev.js:327:9)

at process.<anonymous> (file:///C:/Users/user/Documents/GitHub/raymong-lecture-follow/node_modules/sst/cli/sst.js:58:21)

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

at process.emit (node:domain:489:12)

at process._fatalException (node:internal/process/execution:149:25)

at processPromiseRejections (node:internal/process/promises:288:13)

at process.processTicksAndRejections (node:internal/process/task_queues:96:32)

Need help with this error? Post it in #help on the SST Discord https://sst.dev/discord

 

답변 1

0

배울장님의 프로필 이미지
배울장
지식공유자

혹시 aws cli 로그인이 잘 되어있는 상태인지 확인해보실 수 있을까요?

aws configure list

라는 명령어를 터미널에 입력하시면 aws configure로 로그인 한 계정이 나올텐데요

그 값에 access_key나 secret_key는 가리고 결과로 출력된 값을 같이 보여주시면 좋을 것 같습니다.