errors.log 2.2 KB

1234567891011121314151617181920212223
  1. 2021-09-04 19:52:48:5248 error: uncaughtException: Route.post() requires a callback function but got a [object Undefined]
  2. Error: Route.post() requires a callback function but got a [object Undefined]
  3. at Route.<computed> [as post] (/Users/artemstepanov/Documents/a-level/test-back-end/node_modules/express/lib/router/route.js:202:15)
  4. at Function.proto.<computed> [as post] (/Users/artemstepanov/Documents/a-level/test-back-end/node_modules/express/lib/router/index.js:510:19)
  5. at Object.<anonymous> (/Users/artemstepanov/Documents/a-level/test-back-end/src/routes/auth/index.js:9:8)
  6. at Module._compile (internal/modules/cjs/loader.js:1063:30)
  7. at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
  8. at Module.load (internal/modules/cjs/loader.js:928:32)
  9. at Function.Module._load (internal/modules/cjs/loader.js:769:14)
  10. at Module.require (internal/modules/cjs/loader.js:952:19)
  11. at require (internal/modules/cjs/helpers.js:88:18)
  12. at Object.<anonymous> (/Users/artemstepanov/Documents/a-level/test-back-end/src/routes/index.js:3:14)
  13. at Module._compile (internal/modules/cjs/loader.js:1063:30)
  14. at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
  15. at Module.load (internal/modules/cjs/loader.js:928:32)
  16. at Function.Module._load (internal/modules/cjs/loader.js:769:14)
  17. at Module.require (internal/modules/cjs/loader.js:952:19)
  18. at require (internal/modules/cjs/helpers.js:88:18) undefined
  19. 2021-09-04 22:48:55:4855 error: URL: undefined/register, Method: POST, ErrorMessage: User already exist undefined
  20. 2021-09-04 22:52:28:5228 error: URL: undefined/register, Method: POST, ErrorMessage: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined undefined
  21. 2021-09-04 22:53:22:5322 error: URL: undefined/register, Method: POST, ErrorMessage: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined undefined
  22. 2021-09-04 23:04:05:45 error: URL: undefined/login, Method: POST, ErrorMessage: Cannot set headers after they are sent to the client undefined
  23. 2021-09-04 23:04:40:440 error: URL: undefined/login, Method: POST, ErrorMessage: Cannot set headers after they are sent to the client undefined