如何解决：

F:\smart-excel-ai-main>yarn dev
yarn run v1.22.21
$ next dev
'next' 不是内部或外部命令，也不是可运行的程序
或批处理文件。
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run  for documentation about this command.

F:\smart-excel-ai-main>yarn install
yarn install v1.22.21
info No lockfile found.
[1/4] Resolving packages...
info There appears to be trouble with your network connection. Retrying...
warning contentlayer > @contentlayer/utils > memfs@3.6.0: this will be v4
warning logging-service > date-format@0.0.2: 0.x is no longer supported. Please upgrade to 4.x or higher.
[2/4] Fetching packages...
warning react-hook-form@7.49.3: The engine "pnpm" appears to be invalid.
[3/4] Linking dependencies...
warning "ai > swrv@1.0.4" has unmet peer dependency "vue@>=3.2.26 < 4".
warning "ai > sswr@2.0.0" has unmet peer dependency "svelte@^4.0.0".
warning "ai > solid-swr-store@0.10.7" has unmet peer dependency "solid-js@^1.2".
warning "contentlayer > @contentlayer/utils > @opentelemetry/exporter-trace-otlp-grpc > @opentelemetry/core@1.13.0" has incorrect peer dependency "@opentelemetry/api@>=1.0.0 <1.5.0".
warning "contentlayer > @contentlayer/utils > @opentelemetry/exporter-trace-otlp-grpc > @opentelemetry/resources@1.13.0" has incorrect peer dependency "@opentelemetry/api@>=1.0.0 <1.5.0".
warning "contentlayer > @contentlayer/utils > @opentelemetry/exporter-trace-otlp-grpc > @opentelemetry/sdk-trace-base@1.13.0" has incorrect peer dependency "@opentelemetry/api@>=1.0.0 <1.5.0".
warning "contentlayer > @contentlayer/utils > @opentelemetry/exporter-trace-otlp-grpc > @opentelemetry/otlp-transformer@0.39.1" has incorrect peer dependency "@opentelemetry/api@>=1.3.0 <1.5.0".
warning "contentlayer > @contentlayer/utils > @opentelemetry/exporter-trace-otlp-grpc > @opentelemetry/otlp-transformer > @opentelemetry/sdk-logs@0.39.1" has incorrect peer dependency "@opentelemetry/api@>=1.4.0 <1.5.0".
warning "contentlayer > @contentlayer/utils > @opentelemetry/exporter-trace-otlp-grpc > @opentelemetry/otlp-transformer > @opentelemetry/sdk-metrics@1.13.0" has incorrect peer dependency "@opentelemetry/api@>=1.3.0 <1.5.0".
warning "react-hot-toast > goober@2.1.14" has unmet peer dependency "csstype@^3.0.10".
warning " > rehype-pretty-code@0.10.2" has unmet peer dependency "shiki@0.x".
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
[4/4] Building fresh packages...
success Saved lockfile.
Done in 293.69s.

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
  - Local:        http://localhost:3000

 ✓ Ready in 4.5s
 ○ Compiling /(home)/page ...
 ✓ Compiled /(home)/page in 6.2s (1394 modules)
[next-auth][warn][NEXTAUTH_URL] 
https://next-auth.js.org/warnings#nextauth_url 
[next-auth][warn][NO_SECRET]
https://next-auth.js.org/warnings#no_secret 
 ✓ Compiled in 782ms (534 modules)
 ✓ Compiled in 111ms (520 modules)
 ⨯ TypeError: Failed to parse URL from undefined
    at getUsage (./lib/usage/usage.ts:58:19)
    at Page (page.tsx:15:19)
Cause: TypeError: Invalid URL
    at new URL (node:internal/url:775:36)
    at new Request (node:internal/deps/undici/undici:5853:25)
    at originFetch (F:\smart-excel-ai-main\node_modules\next\dist\compiled\next-server\webpack:\next\dist\compiled\react\cjs\react.shared-subset.development.js:237:81)
    at doOriginalFetch (F:\smart-excel-ai-main\node_modules\next\dist\compiled\next-server\webpack:\next\dist\esm\server\lib\patch-fetch.js:319:24)
    at fn (F:\smart-excel-ai-main\node_modules\next\dist\compiled\next-server\webpack:\next\dist\esm\server\lib\patch-fetch.js:452:20)
    at F:\smart-excel-ai-main\node_modules\next\src\server\lib\trace\tracer.ts:268:28
    at NoopContextManager.with (F:\smart-excel-ai-main\node_modules\@opentelemetry\api\src\context\NoopContextManager.ts:31:15)
    at ContextAPI.with (F:\smart-excel-ai-main\node_modules\@opentelemetry\api\src\api\context.ts:77:42)
    at NoopTracer.startActiveSpan (F:\smart-excel-ai-main\node_modules\@opentelemetry\api\src\trace\NoopTracer.ts:98:27)       
    at ProxyTracer.startActiveSpan (F:\smart-excel-ai-main\node_modules\@opentelemetry\api\src\trace\ProxyTracer.ts:51:20)     
    at F:\smart-excel-ai-main\node_modules\next\src\server\lib\trace\tracer.ts:245:32
    at NoopContextManager.with (F:\smart-excel-ai-main\node_modules\@opentelemetry\api\src\context\NoopContextManager.ts:31:15)
    at ContextAPI.with (F:\smart-excel-ai-main\node_modules\@opentelemetry\api\src\api\context.ts:77:42)
    at NextTracerImpl.trace (F:\smart-excel-ai-main\node_modules\next\src\server\lib\trace\tracer.ts:244:28)
    at globalThis.fetch (F:\smart-excel-ai-main\node_modules\next\dist\compiled\next-server\webpack:\next\dist\esm\server\lib\patch-fetch.js:136:34)
    at we.request (webpack-internal:///(rsc)/./node_modules/@upstash/redis/chunk-F2WNH66D.mjs:56:23)
    at X.exec (webpack-internal:///(rsc)/./node_modules/@upstash/redis/chunk-F2WNH66D.mjs:155:39)
    at getUsage (webpack-internal:///(rsc)/./lib/usage/usage.ts:58:19)
    at Page (webpack-internal:///(rsc)/./app/(home)/page.tsx:15:19) {
  code: 'ERR_INVALID_URL',
  input: 'undefined'
}
 ⨯ TypeError: Failed to parse URL from undefined
    at getUsage (./lib/usage/usage.ts:58:19)
    at Page (page.tsx:15:19)
digest: "3572731510"
   Reload env: .env
 ⚠ Fast Refresh had to perform a full reload due to a runtime error.
 ✓ Compiled in 3.1s (1349 modules)
[next-auth][warn][NO_SECRET]
https://next-auth.js.org/warnings#no_secret 
 ✓ Compiled /api/auth/[...nextauth] in 488ms (889 modules)
[next-auth][warn][NO_SECRET]
https://next-auth.js.org/warnings#no_secret 
 ✓ Compiled /login/page in 828ms (1538 modules)
[next-auth][warn][NO_SECRET]
https://next-auth.js.org/warnings#no_secret 
   Reload env: .env
 ✓ Compiled in 498ms (1538 modules)
 ✓ Compiled in 355ms (1538 modules)
[next-auth][error][OAUTH_CALLBACK_ERROR] 
https://next-auth.js.org/errors#oauth_callback_error  connect ETIMEDOUT 20.205.243.166:443 {
  error: Error: connect ETIMEDOUT 20.205.243.166:443
      at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1595:16)
      at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
    name: 'OAuthCallbackError',
    code: 'ETIMEDOUT'
  },
  providerId: 'github',
  message: 'connect ETIMEDOUT 20.205.243.166:443'
}
 ⨯ ./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 
 ⨯ ./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 
 ⨯ ./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 
 ○ Compiling /_error ...