Build a Salon Appointment Scheduler - Build a Salon Appointment Scheduler

here’s the error log from the test:

FAILED TEST LOG
  ✘ SUBTASKS 1.1 :15 You should display a list of services you offer

RangeError [ERR_CHILD_PROCESS_STDIO_MAXBUFFER]: stdout maxBuffer length exceeded
at new NodeError (node:internal/errors:405:5)
at Socket.onChildStdout (node:child_process:490:14)
at Socket.emit (node:events:529:35)
at addChunk (node:internal/streams/readable:368:12)
at readableAddChunk (node:internal/streams/readable:337:11)
at Readable.push (node:internal/streams/readable:278:10)
at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)
  ✘ SUBTASKS 1.1 :16 You should display the list of services again if the entered service doesn't exist

looks like the output is too long for the test somehow.

It looks like the list of services is overflowing the buffer.

Also when I manually tested your code, it didn’t accept a single word as a user name.
Make it do that then retry.

good luck

Edit: also your code doesn’t accept 11am as required for the input time format. So please fix that too. (once i fixed these two things, the code passed)

Thank you Hanaa. I made the changes you suggested and started a brand new project/codespace and copied everything into it, and it finally worked :ok_hand: Thank you for helping me get it resolved!

1 Like

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