credential 관련 문제
혹시 ㅅ해결하신 분들어떻게 ㅎㅏ셨을까요???
포스트맨 에서는 게속 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.
답변 2
1
저 해결 했어요!
저는 윈도우 터미널 파워셀 사용중이었고
$env:GOOGLE_APPLICATION_CREDENTIALS="c:\Users\~~~유저~~~~\Downloads\~~~credential ~~~~~.json"
윈도우라서 계속 set으로 하다가 오류 났던것이였습니다!
혹시 윈도우 터미널 파워셀 쓰시는 분은 환경변수 설정 저처럼 해보세요
감사합니당
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





