작성
·
183
0
답변 3
0
0
0
에러가
C:\Users\이범진\Documents\boiler-plate\node_modules\mongoose\lib\helpers\promiseOrCallback.js:19
throw error;
^
TypeError: res.josn is not a function
at C:\Users\이범진\Documents\boiler-plate\index.js:31:25
at C:\Users\이범진\Documents\boiler-plate\node_modules\mongoose\lib\model.js:4832:16
at C:\Users\이범진\Documents\boiler-plate\node_modules\mongoose\lib\helpers\promiseOrCallback.js:16:11
at C:\Users\이범진\Documents\boiler-plate\node_modules\mongoose\lib\model.js:4855:21
at C:\Users\이범진\Documents\boiler-plate\node_modules\mongoose\lib\model.js:494:16
at C:\Users\이범진\Documents\boiler-plate\node_modules\kareem\index.js:246:48
at next (C:\Users\이범진\Documents\boiler-plate\node_modules\kareem\index.js:167:27)
at next (C:\Users\이범진\Documents\boiler-plate\node_modules\kareem\index.js:169:9)
at Kareem.execPost (C:\Users\이범진\Documents\boiler-plate\node_modules\kareem\index.js:217:3)
at _handleWrapError (C:\Users\이범진\Documents\boiler-plate\node_modules\kareem\index.js:245:21)
at _cb (C:\Users\이범진\Documents\boiler-plate\node_modules\kareem\index.js:304:16)
at C:\Users\이범진\Documents\boiler-plate\node_modules\mongoose\lib\model.js:344:9
at C:\Users\이범진\Documents\boiler-plate\node_modules\kareem\index.js:135:16
at processTicksAndRejections (internal/process/task_queues.js:79:11)
Emitted 'error' event on Function instance at:
at C:\Users\이범진\Documents\boiler-plate\node_modules\mongoose\lib\model.js:4834:13
at C:\Users\이범진\Documents\boiler-plate\node_modules\mongoose\lib\helpers\promiseOrCallback.js:16:11
[... lines matching original stack trace ...]
at processTicksAndRejections (internal/process/task_queues.js:79:11)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! boiler-plate@1.0.0 start: `node index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the boiler-plate@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\이범진\AppData\Roaming\npm-cache\_logs\2020-08-21T08_55_53_864Z-debug.log
이런식으로 나오는데 혼자 해결이 힘들어 질문드립니다
node ,express설치확인하였고 mongodb에서 ip연결까지 확인하였으나 데이터 전송이 되지않고 있습니다
다시한번 좋은강의 감사드립니다 !꾸벅