inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

따라하며 배우는 노드, 리액트 시리즈 - 챗봇 사이트 만들기

챗봇 어플리케이션 만들기#3 구조 설명 & textQuery Route 만들기

credential 관련 문제

해결된 질문

414

Hoi

작성한 질문수 8

0

혹시 ㅅ해결하신 분들어떻게 ㅎㅏ셨을까요???

포스트맨 에서는 게속 sending request 중이고요..

PS C:\Users\dbsgh\chatbot-app-master\chatbot-app-master> set GOOGLE_APPLICATION_CREDENTIALS=Users\dbsgh\chatbot-app-master\chat-app-test-iipa-6dc37356f180.json     

PS C:\Users\dbsgh\chatbot-app-master\chatbot-app-master> npm run start

> chatbot-app@1.0.0 start C:\Users\dbsgh\chatbot-app-master\chatbot-app-master    

> node index.js

Server Running at 5000

(node:17964) UnhandledPromiseRejectionWarning: Error: Could not load the default credentials. Browse to https://cloud.google.com/docs/authentication/getting-started for more information.

    at GoogleAuth.<anonymous> (C:\Users\dbsgh\chatbot-app-master\chatbot-app-master\node_modules\google-auth-library\build\src\auth\googleauth.js:167:23)

    at Generator.next (<anonymous>)

    at fulfilled (C:\Users\dbsgh\chatbot-app-master\chatbot-app-master\node_modules\google-auth-library\build\src\auth\googleauth.js:19:58)

    at process._tickCallback (internal/process/next_tick.js:68:7)

(node:17964) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 

1)

(node:17964) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

nodejs react

답변 2

1

Hoi

저 해결 했어요!

저는 윈도우 터미널 파워셀 사용중이었고 

$env:GOOGLE_APPLICATION_CREDENTIALS="c:\Users\~~~유저~~~~\Downloads\~~~credential ~~~~~.json"   

윈도우라서 계속 set으로 하다가 오류 났던것이였습니다! 

혹시 윈도우 터미널 파워셀 쓰시는 분은 환경변수 설정 저처럼 해보세요

감사합니당

0

John Ahn

안녕하세요 전윤회님  해결 방법을 공유해주셔서 너무 감사합니다 !!! 

localhost:3000 ERR_CONNECTION_REFUSED

0

913

1

이벤트 쿼리문제입니다

0

122

1

npm install 이 안됩니다

0

1045

2

질문있어요

0

186

1

수정해보았는데 답장이 오지 않습니다.

0

273

1

postman 에 답이 오지 않습니다.(수정)

0

261

1

최신버전 부분

0

163

1

웹브라우저 실행이 안됩니다 .인스톨도 안되구요. 최신버전으로 해서 진행하고 자 하는데 어떻게 하면 될가요?

0

151

1

포스트맨에서 send를 하였을 때 오류가 납니다.

0

162

1

한국어 챗봇 만들기

0

312

1

Error: 16 UNAUTHENTICATED: Failed to retrieve auth metadata with error: invalid_grant: Invalid JWT Signature. 에러 발생

0

216

1

npm start 하고 throw e 이부분에서 에러가 뜨네요

0

299

1

dialogflow 줄바꿈

0

408

1

npm start 에러

0

529

1

npm run start 오류

0

794

2

Dialogflow ES에서 서비스 어카운트에 dialogflow client api설정 하는 법 질문

0

447

1

파이어베이스랑 연동은 어떻게 하나요?

0

539

1

npm install오류

0

627

1

invalid_grant: Invalid JWT Signature.

0

468

0

질문있어요!

0

304

0

에러

0

313

0

https://dialogflow.com/

0

339

1

Error: 7 PERMISSION_DENIED: IAM permission 오류

0

531

1

npm run start 시 cannot find module 에러

1

489

1