F:\smart-excel-ai-main>yarn dev
yarn run v1.22.21
$ next dev
Warning: Contentlayer might not work as expected on Windows
ConfigReadError (F:\smart-excel-ai-main\contentlayer.config.js): Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'shiki' imported from F:\smart-excel-ai-main\node_modules\rehype-pretty-code\dist\rehype-pretty-code.js
ConfigReadError (F:\smart-excel-ai-main\contentlayer.config.js): Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'shiki' imported from F:\smart-excel-ai-main\node_modules\rehype-pretty-code\dist\rehype-pretty-code.js
▲ Next.js 13.5.6
✓ Ready in 3.9s
✓ Compiled /(about)/[...slug]/page in 294ms (67 modules)
✓ Compiled in 1865ms (552 modules)
[next-auth][error][OAUTH_CALLBACK_ERROR]
https://next-auth.js.org/errors#oauth_callback_error State cookie was missing. {
error: TypeError: State cookie was missing.
at Object.use (F:\smart-excel-ai-main\node_modules\next-auth\core\lib\oauth\checks.js:111:23)
at oAuthCallback (F:\smart-excel-ai-main\node_modules\next-auth\core\lib\oauth\callback.js:89:25)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Object.callback (F:\smart-excel-ai-main\node_modules\next-auth\core\routes\callback.js:52:11)
at AuthHandler (F:\smart-excel-ai-main\node_modules\next-auth\core\index.js:208:28)
at NextAuthApiHandler (F:\smart-excel-ai-main\node_modules\next-auth\next\index.js:22:19)
at NextAuth._args (F:\smart-excel-ai-main\node_modules\next-auth\next\index.js:108:14) {
name: 'OAuthCallbackError',
code: undefined
},
providerId: 'github',
message: 'State cookie was missing.'
}
[next-auth][error][OAUTH_CALLBACK_ERROR]
https://next-auth.js.org/errors#oauth_callback_error State cookie was missing. {
error: TypeError: State cookie was missing.
at Object.use (F:\smart-excel-ai-main\node_modules\next-auth\core\lib\oauth\checks.js:111:23)
at oAuthCallback (F:\smart-excel-ai-main\node_modules\next-auth\core\lib\oauth\callback.js:89:25)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Object.callback (F:\smart-excel-ai-main\node_modules\next-auth\core\routes\callback.js:52:11)
at AuthHandler (F:\smart-excel-ai-main\node_modules\next-auth\core\index.js:208:28)
at NextAuthApiHandler (F:\smart-excel-ai-main\node_modules\next-auth\next\index.js:22:19)
at NextAuth._args (F:\smart-excel-ai-main\node_modules\next-auth\next\index.js:108:14) {
name: 'OAuthCallbackError',
code: undefined
},
providerId: 'github',
message: 'State cookie was missing.'
}
⨯ ./app/(about)/[...slug]/page.tsx:1:0
Module not found: Package path ./generated is not exported from package F:\smart-excel-ai-main\node_modules\contentlayer (see exports field in F:\smart-excel-ai-main\node_modules\contentlayer\package.json)
1 | import { allPosts } from "contentlayer/generated";
2 | import { notFound } from "next/navigation";
3 |
4 | import { Mdx } from "@/components/mdx/mdx-components";
https://nextjs.org/docs/messages/module-not-found
[next-auth][error][OAUTH_CALLBACK_ERROR]
https://next-auth.js.org/errors#oauth_callback_error State cookie was missing. {
error: TypeError: State cookie was missing.
at Object.use (F:\smart-excel-ai-main\node_modules\next-auth\core\lib\oauth\checks.js:111:23)
at oAuthCallback (F:\smart-excel-ai-main\node_modules\next-auth\core\lib\oauth\callback.js:89:25)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Object.callback (F:\smart-excel-ai-main\node_modules\next-auth\core\routes\callback.js:52:11)
at AuthHandler (F:\smart-excel-ai-main\node_modules\next-auth\core\index.js:208:28)
at NextAuthApiHandler (F:\smart-excel-ai-main\node_modules\next-auth\next\index.js:22:19)
at NextAuth._args$ (F:\smart-excel-ai-main\node_modules\next-auth\next\index.js:108:14) {
name: 'OAuthCallbackError',
code: undefined
},
providerId: 'github',
message: 'State cookie was missing.'
}
⨯ ./app/(about)/[...slug]/page.tsx:1:0
Module not found: Package path ./generated is not exported from package F:\smart-excel-ai-main\node_modules\contentlayer (see exports field in F:\smart-excel-ai-main\node_modules\contentlayer\package.json)
1 | import { allPosts } from "contentlayer/generated";
2 | import { notFound } from "next/navigation";
3 |
4 | import { Mdx } from "@/components/mdx/mdx-components";
https://nextjs.org/docs/messages/module-not-found
⚠ Fast Refresh had to perform a full reload due to a runtime error.
[next-auth][error][OAUTH_CALLBACK_ERROR]
https://next-auth.js.org/errors#oauth_callback_error State cookie was missing. {
error: TypeError: State cookie was missing.
at Object.use (F:\smart-excel-ai-main\node_modules\next-auth\core\lib\oauth\checks.js:111:23)
at oAuthCallback (F:\smart-excel-ai-main\node_modules\next-auth\core\lib\oauth\callback.js:89:25)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Object.callback (F:\smart-excel-ai-main\node_modules\next-auth\core\routes\callback.js:52:11)
at AuthHandler (F:\smart-excel-ai-main\node_modules\next-auth\core\index.js:208:28)
at NextAuthApiHandler (F:\smart-excel-ai-main\node_modules\next-auth\next\index.js:22:19)
at NextAuth._args$ (F:\smart-excel-ai-main\node_modules\next-auth\next\index.js:108:14) {
name: 'OAuthCallbackError',
code: undefined
},
providerId: 'github',
message: 'State cookie was missing.'
}
○ Compiling /error ...
[webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename 'F:\smart-excel-ai-main.next\cache\webpack\client-development-fallback\0.pack.gz' -> 'F:\smart-excel-ai-main.next\cache\webpack\client-development-fallback\0.pack.gz'
⨯ ./app/(about)/[...slug]/page.tsx:1:0
Module not found: Package path ./generated is not exported from package F:\smart-excel-ai-main\node_modules\contentlayer (see exports field in F:\smart-excel-ai-main\node_modules\contentlayer\package.json)
1 | import { allPosts } from "contentlayer/generated";
2 | import { notFound } from "next/navigation";
3 |
4 | import { Mdx } from "@/components/mdx/mdx-components";
https://nextjs.org/docs/messages/module-not-found
⚠ Fast Refresh had to perform a full reload due to a runtime error.