C:\Users\Documents\Reload-Backend-main (2)\Reload-Backend-main\node_modules\express\lib\application.js:217
throw new TypeError('app.use() requires a middleware function')
^
TypeError: app.use() requires a middleware function
at Function.use (C:\Users\Documents\Reload-Backend-main (2)\Reload-Backend-main\node_modules\express\lib\application.js:217:11)
at C:\Users\Documents\Reload-Backend-main (2)\Reload-Backend-main\index.js:65:9
at Array.forEach ()
at Object. (C:\Users\Documents\Reload-Backend-main (2)\Reload-Backend-main\index.js:64:28)
at Module._compile (node:internal/modules/cjs/loader:1546:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)
at Module.load (node:internal/modules/cjs/loader:1317:32)
at Module._load (node:internal/modules/cjs/loader:1127:12)
at TracingChannel.traceSync (node:diagnostics_channel:315:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
C:\Users\Documents\Reload-Backend-main (2)\Reload-Backend-main\node_modules\express\lib\application.js:217 throw new TypeError('app.use() requires a middleware function') ^
TypeError: app.use() requires a middleware function at Function.use (C:\Users\Documents\Reload-Backend-main (2)\Reload-Backend-main\node_modules\express\lib\application.js:217:11) at C:\Users\Documents\Reload-Backend-main (2)\Reload-Backend-main\index.js:65:9 at Array.forEach ()
at Object. (C:\Users\Documents\Reload-Backend-main (2)\Reload-Backend-main\index.js:64:28)
at Module._compile (node:internal/modules/cjs/loader:1546:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)
at Module.load (node:internal/modules/cjs/loader:1317:32)
at Module._load (node:internal/modules/cjs/loader:1127:12)
at TracingChannel.traceSync (node:diagnostics_channel:315:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)