작성
·
269
0
안녕하세요
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 파일을 열면 아래와 같이 나옵니다
답변