linnovate / mean

The MEAN stack uses Mongo, Express, Angular(6) and Node for simple and scalable fullstack js applications
http://mean.io
12.13k stars 3.45k forks source link

Callback is not a function! issue #2017

Closed Umar90909 closed 3 years ago

Umar90909 commented 3 years ago

TypeError: callback is not a function at Request._callback (D:\NodeTraining\web-server\src\utils\forecast.js:23:13) at Request.self.callback (D:\NodeTraining\web-server\node_modules\request\request.js:185:22) at Request.emit (node:events:369:20) at Request. (D:\NodeTraining\web-server\node_modules\request\request.js:1154:10) at Request.emit (node:events:369:20) at IncomingMessage. (D:\NodeTraining\web-server\node_modules\request\request.js:1076:12) at Object.onceWrapper (node:events:475:28) at IncomingMessage.emit (node:events:381:22) at endReadableNT (node:internal/streams/readable:1307:12) at processTicksAndRejections (node:internal/process/task_queues:81:21) [nodemon] app crashed - waiting for file changes before starting...

arturovt commented 3 years ago

We don't have the forecast.js file in the repository.