묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 챗봇 사이트 만들기
npm run start 시 Error 발생
안녕하세요 npm run start 하면 에러가 나와 강의 진행이 어렵습니다 도움 요청 드립니다 error 내용: D:\source\React\ChatBot\chatbot-app-master\node_modules\grpc\src\grpc_extension.js:57 throw e; ^ Error: Cannot find module 'D:\source\React\ChatBot\chatbot-app-master\node_modules\grpc\src\node\extension_binary\node-v88-win32-x64-unknown\grpc_node.node' Require stack: - D:\source\React\ChatBot\chatbot-app-master\node_modules\grpc\src\grpc_extension.js - D:\source\React\ChatBot\chatbot-app-master\node_modules\grpc\src\client_interceptors.js - D:\source\React\ChatBot\chatbot-app-master\node_modules\grpc\src\client.js - D:\source\React\ChatBot\chatbot-app-master\node_modules\grpc\index.js - D:\source\React\ChatBot\chatbot-app-master\node_modules\google-gax\build\src\grpc.js - D:\source\React\ChatBot\chatbot-app-master\node_modules\google-gax\build\src\index.js - D:\source\React\ChatBot\chatbot-app-master\node_modules\dialogflow\src\v2\agents_client.js - D:\source\React\ChatBot\chatbot-app-master\node_modules\dialogflow\src\v2\index.js - D:\source\React\ChatBot\chatbot-app-master\node_modules\dialogflow\src\index.js - D:\source\React\ChatBot\chatbot-app-master\server\routes\dialogflow.js - D:\source\React\ChatBot\chatbot-app-master\index.js at Function.Module._resolveFilename (node:internal/modules/cjs/loader:925:15) at Function.Module._load (node:internal/modules/cjs/loader:769:27) at Module.require (node:internal/modules/cjs/loader:997:19) at require (node:internal/modules/cjs/helpers:92:18) at Object.<anonymous> (D:\source\React\ChatBot\chatbot-app-master\node_modules\grpc\src\grpc_extension.js:32:13) at Module._compile (node:internal/modules/cjs/loader:1108:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10) at Module.load (node:internal/modules/cjs/loader:973:32) at Function.Module._load (node:internal/modules/cjs/loader:813:14) at Module.require (node:internal/modules/cjs/loader:997:19) { code: 'MODULE_NOT_FOUND', requireStack: [ 'D:\\source\\React\\ChatBot\\chatbot-app-master\\node_modules\\grpc\\src\\grpc_extension.js', 'D:\\source\\React\\ChatBot\\chatbot-app-master\\node_modules\\grpc\\src\\client_interceptors.js', 'D:\\source\\React\\ChatBot\\chatbot-app-master\\node_modules\\grpc\\src\\client.js', 'D:\\source\\React\\ChatBot\\chatbot-app-master\\node_modules\\grpc\\index.js', 'D:\\source\\React\\ChatBot\\chatbot-app-master\\node_modules\\google-gax\\build\\src\\grpc.js', 'D:\\source\\React\\ChatBot\\chatbot-app-master\\node_modules\\google-gax\\build\\src\\index.js', 'D:\\source\\React\\ChatBot\\chatbot-app-master\\node_modules\\dialogflow\\src\\v2\\agents_client.js', 'D:\\source\\React\\ChatBot\\chatbot-app-master\\node_modules\\dialogflow\\src\\v2\\index.js', 'D:\\source\\React\\ChatBot\\chatbot-app-master\\node_modules\\dialogflow\\src\\index.js', 'D:\\source\\React\\ChatBot\\chatbot-app-master\\server\\routes\\dialogflow.js', 'D:\\source\\React\\ChatBot\\chatbot-app-master\\index.js' ] glory@DESKTOP-ABGMV71 MINGW64 /d/source/React/ChatBot/chatbot-app-master $ npm run start > chatbot-app@1.0.0 start > node index.js D:\source\React\ChatBot\chatbot-app-master\node_modules\grpc\src\grpc_extension.js:57 throw e; ^ Error: Cannot find module 'D:\source\React\ChatBot\chatbot-app-master\node_modules\grpc\src\node\extension_binary\node-v88-win32-x64-unknown\grpc_node.node' Require stack: - D:\source\React\ChatBot\chatbot-app-master\node_modules\grpc\src\grpc_extension.js - D:\source\React\ChatBot\chatbot-app-master\node_modules\grpc\src\client_interceptors.js - D:\source\React\ChatBot\chatbot-app-master\node_modules\grpc\src\client.js - D:\source\React\ChatBot\chatbot-app-master\node_modules\grpc\index.js - D:\source\React\ChatBot\chatbot-app-master\node_modules\google-gax\build\src\grpc.js - D:\source\React\ChatBot\chatbot-app-master\node_modules\google-gax\build\src\index.js - D:\source\React\ChatBot\chatbot-app-master\node_modules\dialogflow\src\v2\agents_client.js - D:\source\React\ChatBot\chatbot-app-master\node_modules\dialogflow\src\v2\index.js - D:\source\React\ChatBot\chatbot-app-master\node_modules\dialogflow\src\index.js - D:\source\React\ChatBot\chatbot-app-master\server\routes\dialogflow.js - D:\source\React\ChatBot\chatbot-app-master\index.js at Function.Module._resolveFilename (node:internal/modules/cjs/loader:925:15) at Function.Module._load (node:internal/modules/cjs/loader:769:27) at Module.require (node:internal/modules/cjs/loader:997:19) at require (node:internal/modules/cjs/helpers:92:18) at Object.<anonymous> (D:\source\React\ChatBot\chatbot-app-master\node_modules\grpc\src\grpc_extension.js:32:13) at Module._compile (node:internal/modules/cjs/loader:1108:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10) at Module.load (node:internal/modules/cjs/loader:973:32) at Function.Module._load (node:internal/modules/cjs/loader:813:14) at Module.require (node:internal/modules/cjs/loader:997:19) { code: 'MODULE_NOT_FOUND', requireStack: [ 'D:\\source\\React\\ChatBot\\chatbot-app-master\\node_modules\\grpc\\src\\grpc_extension.js', 'D:\\source\\React\\ChatBot\\chatbot-app-master\\node_modules\\grpc\\src\\client_interceptors.js', 'D:\\source\\React\\ChatBot\\chatbot-app-master\\node_modules\\grpc\\src\\client.js', 'D:\\source\\React\\ChatBot\\chatbot-app-master\\node_modules\\grpc\\index.js', 'D:\\source\\React\\ChatBot\\chatbot-app-master\\node_modules\\google-gax\\build\\src\\grpc.js', 'D:\\source\\React\\ChatBot\\chatbot-app-master\\node_modules\\google-gax\\build\\src\\index.js', 'D:\\source\\React\\ChatBot\\chatbot-app-master\\node_modules\\dialogflow\\src\\v2\\agents_client.js', 'D:\\source\\React\\ChatBot\\chatbot-app-master\\node_modules\\dialogflow\\src\\v2\\index.js', 'D:\\source\\React\\ChatBot\\chatbot-app-master\\node_modules\\dialogflow\\src\\index.js', 'D:\\source\\React\\ChatBot\\chatbot-app-master\\server\\routes\\dialogflow.js', 'D:\\source\\React\\ChatBot\\chatbot-app-master\\index.js' ] } npm ERR! code 1 npm ERR! path D:\source\React\ChatBot\chatbot-app-master npm ERR! command failed npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node index.js npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\glory\AppData\Local\npm-cache\_logs\2020-12-21T15_17_49_225Z-debug.log 그리고 debug 파일을 열면 아래와 같이 나옵니다 0 verbose cli [ 0 verbose cli 'C:\\Program Files\\nodejs\\node.exe', 0 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js', 0 verbose cli 'run', 0 verbose cli 'start' 0 verbose cli ] 1 info using npm@7.0.15 2 info using node@v15.4.0 3 timing config:load:defaults Completed in 1ms 4 timing config:load:file:C:\Program Files\nodejs\node_modules\npm\npmrc Completed in 1ms 5 timing config:load:builtin Completed in 1ms 6 timing config:load:cli Completed in 2ms 7 timing config:load:env Completed in 0ms 8 timing config:load:file:D:\source\React\ChatBot\chatbot-app-master\.npmrc Completed in 1ms 9 timing config:load:project Completed in 3ms 10 timing config:load:file:C:\Users\glory\.npmrc Completed in 0ms 11 timing config:load:user Completed in 0ms 12 timing config:load:file:C:\Users\glory\AppData\Roaming\npm\etc\npmrc Completed in 0ms 13 timing config:load:global Completed in 0ms 14 timing config:load:cafile Completed in 0ms 15 timing config:load:validate Completed in 0ms 16 timing config:load:setUserAgent Completed in 1ms 17 timing config:load:setEnvs Completed in 0ms 18 timing config:load Completed in 8ms 19 verbose npm-session 8109b44f8cf765a9 20 timing npm:load Completed in 17ms 21 timing command:run-script Completed in 333ms 22 verbose stack Error: command failed 22 verbose stack at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\promise-spawn\index.js:64:27) 22 verbose stack at ChildProcess.emit (node:events:376:20) 22 verbose stack at maybeClose (node:internal/child_process:1063:16) 22 verbose stack at Process.ChildProcess._handle.onexit (node:internal/child_process:295:5) 23 verbose pkgid chatbot-app@1.0.0 24 verbose cwd D:\source\React\ChatBot\chatbot-app-master 25 verbose Windows_NT 10.0.19041 26 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "start" 27 verbose node v15.4.0 28 verbose npm v7.0.15 29 error code 1 30 error path D:\source\React\ChatBot\chatbot-app-master 31 error command failed 32 error command C:\WINDOWS\system32\cmd.exe /d /s /c node index.js 33 verbose exit 1
-
[라즈베리파이] IoT 딥러닝 Computer Vision 실전 프로젝트
model 오류
삭제된 글입니다
-
미해결누구든지 하는 리액트: 초심자를 위한 react 핵심 강좌
배열 데이터 렌더링 및 관리파트에서 props로 값 가져올때 질문있습니다!
배열 데이터 렌더링 및 관리파트에서요. Props로 값 전달 받을 때, PhoneInfo에서는 this.props.info로 받는데요.예) const { name, phone, id }= this.props.info; 왜 PhoneInfoList에서는 그냥 props로만 받는지 궁금합니다. 왜 props.data로 안한 것인가요?예) const {data} = this.props;
-
해결됨실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
안녕하세요! 컬렉션 필드 선언 레벨에서 초기화하는 것에 관해 질문 남깁니다.
안녕하세요~ 선생님! 최근 JPA 를 사용할 일이 생겨 급하게 공부중에 있습니다. 선생님 덕분에 살았어요... ㅎㅎ 다름이 아니라 컬렉션 필드는 선언부에 컬렉션을 객체화하는 것이 베스트 프랙티스고, 이렇게 생성된 객체는 다른 객체로 교체하지 않는 것이 좋다고 하셨는데요. 그렇다면 컬렉션 필드는 final로 선언해도 되는 건가요?
-
해결됨스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술
로드맵 학습 관련하여 질문드립니다!
안녕하세요! 요즘 강사님 강의보면서 스프링에 떨어졌던 정을 다시 붙이고 있는 중입니다. ㅎㅎ 깔끔하고 실무와 연관지어서 설명해주시는 것이 정말 와닿더라구요. 제가 질문을 하는건 다름이 아니고 제가 비전공자로서 독학 중인데 강사님 로드맵 중 어느 것을 먼저 진행해야하나 싶어서입니다. 1. 초급~중급 스프링 완전 정복 2. 초급~활용 스프링 부트와 JPA 완전 정복 로드맵 제 우선 목표는 1번이든 2번이든 완강하고 제 프로젝트를 수행해서 취업하는 것인데 어느 로드맵이 조금이나마 제 상황에 맞을까요? 1번에서 기초를 다지면서 2번으로 실전 능력까지 접하는 것이 베스트일 것 같지만 시간이 한정돼있어서 여쭤봅니다. 바쁘시겠지만 가능한 시간에 답변 부탁드리겠습니다! 감사합니다.
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 기본 강의
views 기능 추가...어케하면 될까요...
강사님 수업을 듣고 모든 부분을 따라서 만들었습니다. 프로젝트를 보니까 views 라는 곳에 값이 있는데 이게 페이지를 들어 갈때마다 1개씩 증가시키고 싶습니다.. 어떤 함수를 만들어야 할까요? 이렇게 값이 들어있고 페이지에 들어 갔다 나오면 저기서 조회수 부분이 1증가하게 만들고 싶습니다.. 조언 부탁드립니다...
-
미해결Vue.js 중급 강좌 - 웹앱 제작으로 배워보는 Vue.js, ES6, Vuex
접속이 안됩니다
인프런 아이디 : gyengsam인프런 이메일 : gyengsam@naver.com깃헙 아이디 : gyengsam@naver.com깃헙 Username : gyengsam 위와 같이 신청했는데 금일 확인시에도 접속이 안되네요/....
-
미해결[리뉴얼] React로 NodeBird SNS 만들기
맨처음 antd 적용할때 질문입니다
초반 10강 안쪽에 있는 antd 적용할때 문제입니다.... 계속 깜빡거림 현상이 발생해서 에러메세지를보니 key값을 넣으라고 하는거같은데 어디에 key를 넣어야하는지 모르겠어요 ㅠㅠ 깃헙 주소입니다 !! https://github.com/jellybrown/react-prepare/tree/main/front
-
미해결퍼블리싱 핵심이론 PDF 교재 및 예제파일(HTML+CSS+FLEX+JQUERY)
모바일에서 PDF 파일 예제
안녕하세요 PDF 파일중 5번은 예제로 구성되어 있더라구요, 이걸 모바일로 옮겼는데 웹페이지 소스를 볼수 있는 방법이 없나요? PC로는 검사나 F12버튼 누르면 소스를 볼수 있는데 모바일은 방법이 없나 해서 질문합니다. 강의 잘 듣겠습니다.
-
해결됨테스트주도개발(TDD)로 만드는 NodeJS API 서버
질문드립니다.
안녕하세요 좀 사소한 것같은데 질문드립니다. 테스트 코딩시 .end 함수를 기계적으로 쓰고 있는데 혹이 이 의미를 알 수 있을까요?? 너무 사소한 것 같아 죄송하지만 답변부탁드립니다. 감사합니다.
-
미해결HTML+CSS+JS 포트폴리오 실전 퍼블리싱(시즌1)
폰트어썸 아이콘 갖고오는법 강의는 어느강의 일까요?
안녕하세요 폰트어썸 아이콘 페이스북 인스타 같은 아이콘 가져오시는 방법 강의는 어디에 있을까요 ? <a href="#none"><i class="fa fa-facebook"></i></a> 어디서 복사해서 갖고와야되는지 궁금합니다.
-
미해결공공데이터로 파이썬 데이터 분석 시작하기
파이참으로는 강의 참여 불가능한가요?
강의 구매하기 전에 파이참으로 파이썬 학습 했기에 파이참으로 진행하면 안되는지 궁금합니다.
-
미해결테스트주도개발(TDD)로 만드는 NodeJS API 서버
궁금해서 올립니다.
안녕하세요 강사님 질문드립니다. sync-db.js에서 module.exports = () =>{ return models.sequelize.sync({force: true}); } 설명하실때 "return시 프로미스를 리턴하기 때문에 비동기처리를 완료할 수 있도록 인터페이스를 제공합니다." 라고 하셨는데 비동기처리를 완료한다는게 무슨뜻인지 여쭤봐도 될까요? 테스트시에도 싱크를 먼저할때도 이 말씀을 하십니다. 감사합니다.
-
미해결실전! Querydsl
아키텍처적으로 DTO를 깔끔하기 가져가는 경우
안녕하세요! DTO에서 @QueryProjection을 사용하는 부분에서 DTO를 깔끔하게 가져가고 싶다는 말씀을 하셨습니다. querydsl에 의존성을 줄여 유지보수성을 높이는 경우라고 이해를 했습니다! 실제로 이렇게 가져가야하는 경우 언제인지 예시를 들어주실 수 있을까요? 감사합니다 :)
-
미해결3dsmax 초급부터 전문가까지 - 한방에 끝내는 3dsmax 강좌
노말맵 렌더링 오류가 발생합니다.
영상과 같이 셋팅하고 렌더를 누르니 저런 미싱 맵 타겟이 뜨고 Box002 를 지정해도, 지정 안해도 텍스쳐가 보기 흉하게 오류납니다.
-
미해결윤재성의 만들면서 배우는 Spring MVC 5
프로젝트 생성시 질문
프로젝트를 생성할때마다 Dynamic Web Prroject 생성후 configue 가서 maven으로 변환하는데요. 처음부터 maven 프로젝트로 생성해서 시작하면 되지 않나요?? 둘의 차이점이 뭔지 궁금합니다
-
미해결홍정모의 따라하며 배우는 C언어
2분43초
2분43초부분에서 continue 가 아래부분 코드를 실행시키지 않고 다시 반복문으로 돌아가서 실행하는 거니까 만약 입력을 ye\n을 받는 다고 치면 첫번째 getchar 에서 y를 가지고 가고 버퍼에 e , \n 이 남아있으니 while(getchar()!=\n')continue; 에서 아랫부분 count++는 건너띄되 첫번째 while로 올라가서 printf를 출력하여 다시한번 Current count is 0. Continue? (y/n)이 출력되야 한다고 생각하는데 제가 무엇을 잘못생각 한건가요?
-
해결됨실전! 웹사이트제작! Step by Step! ('돕다' 사이트제작_Basic Course)
animation widthAni 줄때 .txtImg에 overflow:hidden
animation widthAni 줄때 .txtImg에 overflow:hidden을 줘야 애니메이션이 보이는데 이유가 뭔가요??
-
미해결자바 ORM 표준 JPA 프로그래밍 - 기본편
연관관계 편의 메소드 질문있습니다.
연관관계 매소드로 적어주신 코드에서 햇갈리는 부분이 있습니다. Team class에 적어주신 public void addMember(Member member){ member.setTeam(this); members.add(member);} 코드인데요 여기서 member.setTeam(this)이부분이 이해가 잘 안됩니다. member의 setTeam 에 Team class 전체를 전달함으로서 주인 관계를 성립하게 한다는 것인건가요?
-
미해결홍정모의 따라하며 배우는 C++
IntArray 클래스 구현에 대해 feedback받을 수 있을까요?
안녕하세요, 질문은 아니라서 문의드리는 내용에 대해 피드백을 받을 수 있을지는 모르겠지만, 조그만 피드백이라도 쥐면 공부하는데 큰 도움이 될 것 같습니다. 감사합니다. -------------------------- #include <iostream> #include <initializer_list> using namespace std; class IntArray { private: int m_length = 0; int *m_data = nullptr; public: IntArray(const int &length_in) :m_length(length_in) { m_data = new int[m_length]; } IntArray(const std::initializer_list<int> &list) :IntArray(list.size()) { int count = 0; for (auto &e : list) { m_data[count] = e; count++; } } IntArray& resize(const int& length_in) { if (m_length == length_in) return *this; else if (m_length < length_in) //길이가 길어진 경우, 뒤에 0 붙임 { int *temp = new int[length_in]; for (int i = 0; i < m_length; i++) temp[i] = m_data[i]; for (int i = m_length; i < length_in; i++) temp[i] = 0; m_length = length_in; delete[] m_data; m_data = temp; } else //길이가 짧아진 경우 { m_length = length_in; int *temp = new int[m_length]; for (int i = 0; i < m_length; i++) temp[i] = m_data[i]; delete[] m_data; m_data = temp; } return *this; } IntArray& insertBefore(const int &val, const int &idx) //10 1 { //1 3 5 7 9 //1 3 5 7 9 0 //1 10 3 5 7 9 resize(m_length + 1); //input index 이전 : 변화없음 //input index 이후 for (int i = m_length-1; i > idx; i--) { m_data[i] = m_data[i - 1]; } //input index 값 m_data[idx] = val; return *this; } IntArray& remove(const int &idx) //3 { //1 10 3 5 7 9 //1 10 3 7 9 //concept : index 해당 element 로 하나씩 앞으로 당기고, resize (m_length-1); for(int i=idx;i<m_length-1;i++) m_data[i] = m_data[i + 1]; resize(m_length - 1); return *this; } IntArray& push_back(const int &val) { resize(m_length + 1); m_data[m_length - 1] = val; return *this; } IntArray& operator =(const std::initializer_list<int> &list) { delete[] m_data; m_length = list.size(); m_data = new int[m_length]; int count = 0; for (auto &e : list) { m_data[count] = e; count++; } return *this; } friend ostream& operator <<(ostream &out, const IntArray &int_arr) { for (int i = 0; i < int_arr.m_length; i++) out << int_arr.m_data[i] << " "; return out; } ~IntArray() { delete[] m_data; } }; int main() { IntArray my_arr{ 1, 3, 5, 7, 9 }; cout << my_arr << endl; my_arr.insertBefore(10, 1);//1 10 3 5 7 9 cout << my_arr << endl; my_arr.remove(3); //1 10 3 7 9 cout << my_arr << endl; my_arr.push_back(13); //1 10 3 7 9 13 cout << my_arr << endl; }