Nodejs - Routing - Getting error messages on the last part of the lesson

I’m working on the ‘Setting Up a Server with HTTP’/‘Routing’ lesson, and I’m stuck on the last part.

After entering

node app.js

and clicking the ‘Check Work’ button, I get the following error messages:

"Oops! The test returned an error. Maybe you have a syntax error, or a typo. Hide error."

Cannot read properties of undefined (reading 'type')


  throw new ERR_INVALID_URL(input);

TypeError [ERR_INVALID_URL]: Invalid URL: /users
    at onParseError (internal/url.js:279:9)
    at new URL (internal/url.js:355:5)
    at handleGetRequest (/home/ccuser/workspace/setting-up-a-server-with-http-routing/app.js:23:24)
    at Server.<anonymous> (/home/ccuser/workspace/setting-up-a-server-with-http-routing/app.js:10:14)
    at Server.emit (events.js:375:28)
    at parserOnIncoming (_http_server.js:897:12)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:126:17) {
  input: '/users',