You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I left off in your course at running the signing to check if the call to github oauth works, and I get this error when I click the button to sign in with github :
TypeError: next_auth_providers__WEBPACK_IMPORTED_MODULE_1___default.a.Github is not a function
at module.exports../pages/api/auth/[...nextauth].ts.webpack_exports.default (C:\Users\PC\Desktop\production-grade-nextjs.next\server\pages\api\auth[...nextauth].js:118:74)
at apiResolver (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\api-utils.js:8:7)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async DevServer.handleApiRequest (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:63:403)
at async Object.fn (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:55:530)
at async Router.execute (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\router.js:24:67)
at async DevServer.run (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:65:1023)
at async DevServer.handleRequest (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:33:450)
TypeError: next_auth_providers__WEBPACK_IMPORTED_MODULE_1___default.a.Github is not a function
at module.exports../pages/api/auth/[...nextauth].ts.webpack_exports.default (C:\Users\PC\Desktop\production-grade-nextjs.next\server\pages\api\auth[...nextauth].js:118:74)
at apiResolver (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\api-utils.js:8:7)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async DevServer.handleApiRequest (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:63:403)
at async Object.fn (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:55:530)
at async Router.execute (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\router.js:24:67)
at async DevServer.run (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:65:1023)
at async DevServer.handleRequest (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:33:450)
wait - compiling...
event - compiled successfully
TypeError: next_auth_providers__WEBPACK_IMPORTED_MODULE_1___default.a.Github is not a function
at module.exports../pages/api/auth/[...nextauth].ts.webpack_exports.default (C:\Users\PC\Desktop\production-grade-nextjs.next\server\pages\api\auth[...nextauth].js:118:74)
at apiResolver (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\api-utils.js:8:7)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async DevServer.handleApiRequest (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:63:403)
at async Object.fn (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:55:530)
at async Router.execute (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\router.js:24:67)
at async DevServer.run (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:65:1023)
at async DevServer.handleRequest (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:33:450)
TypeError: next_auth_providers__WEBPACK_IMPORTED_MODULE_1___default.a.Github is not a function
at module.exports../pages/api/auth/[...nextauth].ts.webpack_exports.default (C:\Users\PC\Desktop\production-grade-nextjs.next\server\pages\api\auth[...nextauth].js:118:74)
at apiResolver (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\api-utils.js:8:7)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async DevServer.handleApiRequest (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:63:403)
at async Object.fn (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:55:530)
at async Router.execute (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\router.js:24:67)
at async DevServer.run (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:65:1023)
at async DevServer.handleRequest (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:33:450)
TypeError: next_auth_providers__WEBPACK_IMPORTED_MODULE_1___default.a.Github is not a function
at module.exports../pages/api/auth/[...nextauth].ts.webpack_exports.default (C:\Users\PC\Desktop\production-grade-nextjs.next\server\pages\api\auth[...nextauth].js:118:74)
at apiResolver (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\api-utils.js:8:7)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async DevServer.handleApiRequest (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:63:403)
at async Object.fn (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:55:530)
at async Router.execute (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\router.js:24:67)
at async DevServer.run (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:65:1023)
at async DevServer.handleRequest (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:33:450)
TypeError: next_auth_providers__WEBPACK_IMPORTED_MODULE_1___default.a.Github is not a function
at module.exports../pages/api/auth/[...nextauth].ts.webpack_exports.default (C:\Users\PC\Desktop\production-grade-nextjs.next\server\pages\api\auth[...nextauth].js:118:74)
at apiResolver (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\api-utils.js:8:7)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async DevServer.handleApiRequest (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:63:403)
at async Object.fn (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:55:530)
at async Router.execute (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\router.js:24:67)
at async DevServer.run (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:65:1023)
at async DevServer.handleRequest (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:33:450)
TypeError: next_auth_providers__WEBPACK_IMPORTED_MODULE_1___default.a.Github is not a function
at module.exports../pages/api/auth/[...nextauth].ts.webpack_exports.default (C:\Users\PC\Desktop\production-grade-nextjs.next\server\pages\api\auth[...nextauth].js:118:74)
at apiResolver (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\api-utils.js:8:7)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async DevServer.handleApiRequest (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:63:403)
at async Object.fn (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:55:530)
at async Router.execute (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\router.js:24:67)
at async DevServer.run (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:65:1023)
at async DevServer.handleRequest (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:33:450)
event - build page: /api/auth/[...nextauth]
wait - compiling...
event - compiled successfully
TypeError: next_auth_providers__WEBPACK_IMPORTED_MODULE_1___default.a.Github is not a function
at module.exports../pages/api/auth/[...nextauth].ts.webpack_exports.default (C:\Users\PC\Desktop\production-grade-nextjs.next\server\pages\api\auth[...nextauth].js:118:74)
at apiResolver (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\api-utils.js:8:7)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async DevServer.handleApiRequest (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:63:403)
at async Object.fn (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:55:530)
at async Router.execute (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\router.js:24:67)
at async DevServer.run (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:65:1023)
at async DevServer.handleRequest (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:33:450)
TypeError: next_auth_providers__WEBPACK_IMPORTED_MODULE_1___default.a.Github is not a function
at module.exports../pages/api/auth/[...nextauth].ts.webpack_exports.default (C:\Users\PC\Desktop\production-grade-nextjs.next\server\pages\api\auth[...nextauth].js:118:74)
at apiResolver (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\api-utils.js:8:7)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async DevServer.handleApiRequest (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:63:403)
at async Object.fn (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:55:530)
at async Router.execute (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\router.js:24:67)
at async DevServer.run (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:65:1023)
at async DevServer.handleRequest (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:33:450)
TypeError: next_auth_providers__WEBPACK_IMPORTED_MODULE_1___default.a.Github is not a function
at module.exports../pages/api/auth/[...nextauth].ts.webpack_exports.default (C:\Users\PC\Desktop\production-grade-nextjs.next\server\pages\api\auth[...nextauth].js:118:74)
at apiResolver (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\api-utils.js:8:7)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async DevServer.handleApiRequest (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:63:403)
at async Object.fn (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:55:530)
at async Router.execute (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\router.js:24:67)
at async DevServer.run (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:65:1023)
at async DevServer.handleRequest (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:33:450)
The text was updated successfully, but these errors were encountered:
I left off in your course at running the signing to check if the call to github oauth works, and I get this error when I click the button to sign in with github :
TypeError: next_auth_providers__WEBPACK_IMPORTED_MODULE_1___default.a.Github is not a function
at module.exports../pages/api/auth/[...nextauth].ts.webpack_exports.default (C:\Users\PC\Desktop\production-grade-nextjs.next\server\pages\api\auth[...nextauth].js:118:74)
at apiResolver (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\api-utils.js:8:7)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async DevServer.handleApiRequest (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:63:403)
at async Object.fn (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:55:530)
at async Router.execute (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\router.js:24:67)
at async DevServer.run (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:65:1023)
at async DevServer.handleRequest (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:33:450)
TypeError: next_auth_providers__WEBPACK_IMPORTED_MODULE_1___default.a.Github is not a function
at module.exports../pages/api/auth/[...nextauth].ts.webpack_exports.default (C:\Users\PC\Desktop\production-grade-nextjs.next\server\pages\api\auth[...nextauth].js:118:74)
at apiResolver (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\api-utils.js:8:7)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async DevServer.handleApiRequest (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:63:403)
at async Object.fn (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:55:530)
at async Router.execute (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\router.js:24:67)
at async DevServer.run (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:65:1023)
at async DevServer.handleRequest (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:33:450)
wait - compiling...
event - compiled successfully
TypeError: next_auth_providers__WEBPACK_IMPORTED_MODULE_1___default.a.Github is not a function
at module.exports../pages/api/auth/[...nextauth].ts.webpack_exports.default (C:\Users\PC\Desktop\production-grade-nextjs.next\server\pages\api\auth[...nextauth].js:118:74)
at apiResolver (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\api-utils.js:8:7)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async DevServer.handleApiRequest (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:63:403)
at async Object.fn (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:55:530)
at async Router.execute (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\router.js:24:67)
at async DevServer.run (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:65:1023)
at async DevServer.handleRequest (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:33:450)
TypeError: next_auth_providers__WEBPACK_IMPORTED_MODULE_1___default.a.Github is not a function
at module.exports../pages/api/auth/[...nextauth].ts.webpack_exports.default (C:\Users\PC\Desktop\production-grade-nextjs.next\server\pages\api\auth[...nextauth].js:118:74)
at apiResolver (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\api-utils.js:8:7)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async DevServer.handleApiRequest (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:63:403)
at async Object.fn (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:55:530)
at async Router.execute (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\router.js:24:67)
at async DevServer.run (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:65:1023)
at async DevServer.handleRequest (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:33:450)
TypeError: next_auth_providers__WEBPACK_IMPORTED_MODULE_1___default.a.Github is not a function
at module.exports../pages/api/auth/[...nextauth].ts.webpack_exports.default (C:\Users\PC\Desktop\production-grade-nextjs.next\server\pages\api\auth[...nextauth].js:118:74)
at apiResolver (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\api-utils.js:8:7)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async DevServer.handleApiRequest (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:63:403)
at async Object.fn (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:55:530)
at async Router.execute (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\router.js:24:67)
at async DevServer.run (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:65:1023)
at async DevServer.handleRequest (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:33:450)
TypeError: next_auth_providers__WEBPACK_IMPORTED_MODULE_1___default.a.Github is not a function
at module.exports../pages/api/auth/[...nextauth].ts.webpack_exports.default (C:\Users\PC\Desktop\production-grade-nextjs.next\server\pages\api\auth[...nextauth].js:118:74)
at apiResolver (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\api-utils.js:8:7)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async DevServer.handleApiRequest (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:63:403)
at async Object.fn (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:55:530)
at async Router.execute (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\router.js:24:67)
at async DevServer.run (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:65:1023)
at async DevServer.handleRequest (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:33:450)
TypeError: next_auth_providers__WEBPACK_IMPORTED_MODULE_1___default.a.Github is not a function
at module.exports../pages/api/auth/[...nextauth].ts.webpack_exports.default (C:\Users\PC\Desktop\production-grade-nextjs.next\server\pages\api\auth[...nextauth].js:118:74)
at apiResolver (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\api-utils.js:8:7)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async DevServer.handleApiRequest (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:63:403)
at async Object.fn (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:55:530)
at async Router.execute (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\router.js:24:67)
at async DevServer.run (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:65:1023)
at async DevServer.handleRequest (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:33:450)
event - build page: /api/auth/[...nextauth]
wait - compiling...
event - compiled successfully
TypeError: next_auth_providers__WEBPACK_IMPORTED_MODULE_1___default.a.Github is not a function
at module.exports../pages/api/auth/[...nextauth].ts.webpack_exports.default (C:\Users\PC\Desktop\production-grade-nextjs.next\server\pages\api\auth[...nextauth].js:118:74)
at apiResolver (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\api-utils.js:8:7)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async DevServer.handleApiRequest (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:63:403)
at async Object.fn (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:55:530)
at async Router.execute (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\router.js:24:67)
at async DevServer.run (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:65:1023)
at async DevServer.handleRequest (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:33:450)
TypeError: next_auth_providers__WEBPACK_IMPORTED_MODULE_1___default.a.Github is not a function
at module.exports../pages/api/auth/[...nextauth].ts.webpack_exports.default (C:\Users\PC\Desktop\production-grade-nextjs.next\server\pages\api\auth[...nextauth].js:118:74)
at apiResolver (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\api-utils.js:8:7)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async DevServer.handleApiRequest (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:63:403)
at async Object.fn (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:55:530)
at async Router.execute (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\router.js:24:67)
at async DevServer.run (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:65:1023)
at async DevServer.handleRequest (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:33:450)
TypeError: next_auth_providers__WEBPACK_IMPORTED_MODULE_1___default.a.Github is not a function
at module.exports../pages/api/auth/[...nextauth].ts.webpack_exports.default (C:\Users\PC\Desktop\production-grade-nextjs.next\server\pages\api\auth[...nextauth].js:118:74)
at apiResolver (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\api-utils.js:8:7)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async DevServer.handleApiRequest (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:63:403)
at async Object.fn (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:55:530)
at async Router.execute (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\router.js:24:67)
at async DevServer.run (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:65:1023)
at async DevServer.handleRequest (C:\Users\PC\Desktop\production-grade-nextjs\node_modules\next\dist\next-server\server\next-server.js:33:450)
The text was updated successfully, but these errors were encountered: