Exercise Tracker typeerror: done is not a function

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

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:

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.