Tell us what’s happening:
Describe your issue in detail here.
So I’m getting this error which doesn’t go. A similar callback is on line 42 but no error for that!? Please help I can’t understand what the problem is.
throw er; // Unhandled 'error' event
11:54 PM
^
11:54 PM
11:54 PM
TypeError: done1 is not a function
11:54 PM
Jump Toat /app/server.js:50:5
11:54 PM
at process.nextTick (/rbd/pnpm-volume/65c0d21b-77d6-427a-964e-5e4d581c7071/node_modules/mongoose/lib/model.js:4845:18)
11:54 PM
at process._tickCallback (internal/process/next_tick.js:61:11)
11:54 PM
Emitted 'error' event at:
11:54 PM
at process.nextTick (/rbd/pnpm-volume/65c0d21b-77d6-427a-964e-5e4d581c7071/node_modules/mongoose/lib/model.js:4847:15)
11:54 PM
at process._tickCallback (internal/process/next_tick.js:61:11)
Your code so far
This is the glitch link
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36
.
Challenge: Exercise Tracker
Link to the challenge: