Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't deploy to vercel #256

Open
joshbedo opened this issue Dec 29, 2023 · 1 comment
Open

Can't deploy to vercel #256

joshbedo opened this issue Dec 29, 2023 · 1 comment

Comments

@joshbedo
Copy link

Just trying to simply deploy to vercel and the template unchanged breaks

[09:18:13.829] Running build in Washington, D.C., USA (East) – iad1
[09:18:14.192] Cloning github.com/joshbedo/uiwizard (Branch: main, Commit: 807c58f)
[09:18:14.552] Previous build cache not available
[09:18:14.683] Cloning completed: 491.223ms
[09:18:15.047] Running "vercel build"
[09:18:15.533] Vercel CLI 33.0.1
[09:18:16.036] Detected `pnpm-lock.yaml` version 5.4 generated by pnpm 7
[09:18:16.059] Installing dependencies...
[09:18:16.934] Lockfile is up to date, resolution step is skipped
[09:18:17.037] Progress: resolved 1, reused 0, downloaded 0, added 0
[09:18:17.290] Packages: +998
[09:18:17.292] ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[09:18:17.666] Packages are cloned from the content-addressable store to the virtual store.
[09:18:17.667]   Content-addressable store is at: /vercel/.local/share/pnpm/store/v3
[09:18:17.667]   Virtual store is at:             node_modules/.pnpm
[09:18:18.043] Progress: resolved 998, reused 0, downloaded 12, added 12
[09:18:19.051] Progress: resolved 998, reused 0, downloaded 31, added 30
[09:18:20.053] Progress: resolved 998, reused 0, downloaded 54, added 49
[09:18:21.053] Progress: resolved 998, reused 0, downloaded 101, added 98
[09:18:22.053] Progress: resolved 998, reused 0, downloaded 145, added 140
[09:18:23.057] Progress: resolved 998, reused 0, downloaded 239, added 238
[09:18:24.061] Progress: resolved 998, reused 0, downloaded 288, added 288
[09:18:25.066] Progress: resolved 998, reused 0, downloaded 296, added 295
[09:18:26.066] Progress: resolved 998, reused 0, downloaded 316, added 314
[09:18:27.967] Progress: resolved 998, reused 0, downloaded 316, added 315
[09:18:28.969] Progress: resolved 998, reused 0, downloaded 329, added 328
[09:18:29.970] Progress: resolved 998, reused 0, downloaded 365, added 361
[09:18:30.970] Progress: resolved 998, reused 0, downloaded 418, added 414
[09:18:31.977] Progress: resolved 998, reused 0, downloaded 497, added 490
[09:18:32.979] Progress: resolved 998, reused 0, downloaded 523, added 522
[09:18:33.983] Progress: resolved 998, reused 0, downloaded 551, added 545
[09:18:34.983] Progress: resolved 998, reused 0, downloaded 591, added 591
[09:18:35.995] Progress: resolved 998, reused 0, downloaded 621, added 618
[09:18:36.996] Progress: resolved 998, reused 0, downloaded 704, added 699
[09:18:38.001] Progress: resolved 998, reused 0, downloaded 771, added 767
[09:18:39.009] Progress: resolved 998, reused 0, downloaded 834, added 830
[09:18:40.019] Progress: resolved 998, reused 0, downloaded 884, added 881
[09:18:41.061] Progress: resolved 998, reused 0, downloaded 953, added 951
[09:18:42.079] Progress: resolved 998, reused 0, downloaded 991, added 990
[09:18:43.078] Progress: resolved 998, reused 0, downloaded 991, added 991
[09:18:44.078] Progress: resolved 998, reused 0, downloaded 993, added 993
[09:18:45.083] Progress: resolved 998, reused 0, downloaded 994, added 994
[09:18:46.084] Progress: resolved 998, reused 0, downloaded 995, added 995
[09:18:47.443] Progress: resolved 998, reused 0, downloaded 996, added 996
[09:18:48.447] Progress: resolved 998, reused 0, downloaded 998, added 998, done
[09:18:48.952] .../node_modules/@prisma/engines postinstall$ node scripts/postinstall.js
[09:18:49.004] .../node_modules/protobufjs postinstall$ node scripts/postinstall
[09:18:49.036] .../sharp@0.31.3/node_modules/sharp install$ (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)
[09:18:49.177] .../node_modules/protobufjs postinstall: Done
[09:18:49.377] .../sharp@0.31.3/node_modules/sharp install: sharp: Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.13.3/libvips-8.13.3-linux-x64.tar.br
[09:18:50.177] .../sharp@0.31.3/node_modules/sharp install: sharp: Integrity check passed for linux-x64
[09:18:50.337] .../node_modules/@prisma/engines postinstall: Done
[09:18:51.094] .../sharp@0.31.3/node_modules/sharp install: Done
[09:18:51.183] .../esbuild@0.18.20/node_modules/esbuild postinstall$ node install.js
[09:18:51.237] .../prisma@4.16.2/node_modules/prisma preinstall$ node scripts/preinstall-entry.js
[09:18:51.290] .../esbuild@0.18.20/node_modules/esbuild postinstall: Done
[09:18:51.337] .../prisma@4.16.2/node_modules/prisma preinstall: Done
[09:18:51.516] .../node_modules/@prisma/client postinstall$ node scripts/postinstall.js
[09:18:52.154] .../node_modules/@prisma/client postinstall: Prisma schema loaded from prisma/schema.prisma
[09:18:52.648] .../node_modules/@prisma/client postinstall: ✔ Generated Prisma Client (4.16.2 | library) to ./node_modules/.pnpm/@prisma+client@4.16.2_prisma@4.16.2/node_modules/@prisma/client in 118ms
[09:18:52.649] .../node_modules/@prisma/client postinstall: You can now start using Prisma Client in your code. Reference: https://pris.ly/d/client
[09:18:52.649] .../node_modules/@prisma/client postinstall: ```
[09:18:52.649] .../node_modules/@prisma/client postinstall: import { PrismaClient } from '@prisma/client'
[09:18:52.649] .../node_modules/@prisma/client postinstall: const prisma = new PrismaClient()
[09:18:52.649] .../node_modules/@prisma/client postinstall: ```
[09:18:52.684] .../node_modules/@prisma/client postinstall: Done
[09:18:52.711] .../node_modules/contentlayer postinstall$ node ./bin/cli.cjs postinstall || echo 'No Contentlayer build found.'
[09:18:54.265] .../node_modules/contentlayer postinstall: Done
[09:18:54.479] 
[09:18:54.480] dependencies:
[09:18:54.480] + @editorjs/code 2.9.0
[09:18:54.480] + @editorjs/editorjs 2.28.2
[09:18:54.480] + @editorjs/embed 2.7.0
[09:18:54.480] + @editorjs/header 2.8.1
[09:18:54.480] + @editorjs/inline-code 1.5.0
[09:18:54.480] + @editorjs/link 2.6.2
[09:18:54.481] + @editorjs/list 1.9.0
[09:18:54.481] + @editorjs/paragraph 2.11.3
[09:18:54.481] + @editorjs/table 2.3.0
[09:18:54.481] + @hookform/resolvers 3.3.3
[09:18:54.481] + @next-auth/prisma-adapter 1.0.7
[09:18:54.481] + @prisma/client 4.16.2
[09:18:54.481] + @radix-ui/react-accessible-icon 1.0.3
[09:18:54.481] + @radix-ui/react-accordion 1.1.2
[09:18:54.481] + @radix-ui/react-alert-dialog 1.0.5
[09:18:54.482] + @radix-ui/react-aspect-ratio 1.0.3
[09:18:54.482] + @radix-ui/react-avatar 1.0.4
[09:18:54.482] + @radix-ui/react-checkbox 1.0.4
[09:18:54.482] + @radix-ui/react-collapsible 1.0.3
[09:18:54.482] + @radix-ui/react-context-menu 2.1.5
[09:18:54.482] + @radix-ui/react-dialog 1.0.5
[09:18:54.482] + @radix-ui/react-dropdown-menu 2.0.6
[09:18:54.482] + @radix-ui/react-hover-card 1.0.7
[09:18:54.482] + @radix-ui/react-label 2.0.2
[09:18:54.482] + @radix-ui/react-menubar 1.0.4
[09:18:54.483] + @radix-ui/react-navigation-menu 1.1.4
[09:18:54.483] + @radix-ui/react-popover 1.0.7
[09:18:54.483] + @radix-ui/react-progress 1.0.3
[09:18:54.483] + @radix-ui/react-radio-group 1.1.3
[09:18:54.483] + @radix-ui/react-scroll-area 1.0.5
[09:18:54.483] + @radix-ui/react-select 1.2.2
[09:18:54.483] + @radix-ui/react-separator 1.0.3
[09:18:54.483] + @radix-ui/react-slider 1.1.2
[09:18:54.483] + @radix-ui/react-slot 1.0.2
[09:18:54.483] + @radix-ui/react-switch 1.0.3
[09:18:54.483] + @radix-ui/react-tabs 1.0.4
[09:18:54.484] + @radix-ui/react-toast 1.1.5
[09:18:54.484] + @radix-ui/react-toggle 1.0.3
[09:18:54.484] + @radix-ui/react-toggle-group 1.0.4
[09:18:54.484] + @radix-ui/react-tooltip 1.0.7
[09:18:54.484] + @t3-oss/env-nextjs 0.2.2
[09:18:54.484] + @typescript-eslint/parser 5.62.0
[09:18:54.484] + @vercel/analytics 1.1.1
[09:18:54.484] + @vercel/og 0.0.21
[09:18:54.484] + class-variance-authority 0.4.0
[09:18:54.484] + clsx 1.2.1
[09:18:54.484] + cmdk 0.1.22
[09:18:54.485] + concurrently 8.2.2
[09:18:54.485] + contentlayer 0.3.4
[09:18:54.485] + date-fns 2.30.0
[09:18:54.485] + lucide-react 0.92.0
[09:18:54.485] + next 13.3.2-canary.13
[09:18:54.485] + next-auth 4.22.1
[09:18:54.485] + next-contentlayer 0.3.4
[09:18:54.485] + next-themes 0.2.1
[09:18:54.485] + nodemailer 6.9.7
[09:18:54.485] + postmark 3.11.0
[09:18:54.485] + prop-types 15.8.1
[09:18:54.486] + react 18.2.0
[09:18:54.486] + react-day-picker 8.10.0
[09:18:54.486] + react-dom 18.2.0
[09:18:54.486] + react-editor-js 2.1.0
[09:18:54.486] + react-hook-form 7.49.2
[09:18:54.486] + react-textarea-autosize 8.5.3
[09:18:54.486] + sharp 0.31.3
[09:18:54.486] + shiki 0.11.1
[09:18:54.486] + stripe 11.18.0
[09:18:54.486] + tailwind-merge 1.14.0
[09:18:54.487] + tailwindcss-animate 1.0.7
[09:18:54.487] + zod 3.22.4
[09:18:54.487] 
[09:18:54.487] devDependencies:
[09:18:54.487] + @commitlint/cli 17.8.1
[09:18:54.487] + @commitlint/config-conventional 17.8.1
[09:18:54.487] + @ianvs/prettier-plugin-sort-imports 3.7.2
[09:18:54.487] + @tailwindcss/line-clamp 0.4.4
[09:18:54.487] + @tailwindcss/typography 0.5.10
[09:18:54.487] + @types/node 18.19.3
[09:18:54.487] + @types/react 18.0.15
[09:18:54.488] + @types/react-dom 18.0.6
[09:18:54.488] + autoprefixer 10.4.16
[09:18:54.488] + eslint 8.56.0
[09:18:54.488] + eslint-config-next 13.0.0
[09:18:54.488] + eslint-config-prettier 8.10.0
[09:18:54.488] + eslint-plugin-react 7.33.2
[09:18:54.488] + eslint-plugin-tailwindcss 3.13.1
[09:18:54.488] + husky 8.0.3
[09:18:54.488] + mdast-util-toc 6.1.1
[09:18:54.488] + postcss 8.4.32
[09:18:54.489] + prettier 2.8.8
[09:18:54.489] + prettier-plugin-tailwindcss 0.1.13
[09:18:54.489] + pretty-quick 3.1.3
[09:18:54.489] + prisma 4.16.2
[09:18:54.489] + rehype 12.0.1
[09:18:54.489] + rehype-autolink-headings 6.1.1
[09:18:54.489] + rehype-pretty-code 0.9.11
[09:18:54.489] + rehype-slug 5.1.0
[09:18:54.489] + remark 14.0.3
[09:18:54.489] + remark-gfm 3.0.1
[09:18:54.490] + tailwindcss 3.4.0
[09:18:54.490] + typescript 4.7.4
[09:18:54.490] + unist-util-visit 4.1.2
[09:18:54.490] 
[09:18:54.547] 
[09:18:54.548] > taxonomy@0.2.0 postinstall /vercel/path0
[09:18:54.548] > prisma generate
[09:18:54.555] 
[09:18:55.112] Prisma schema loaded from prisma/schema.prisma
[09:18:55.582] 
[09:18:55.583] ✔ Generated Prisma Client (4.16.2 | library) to ./node_modules/.pnpm/@prisma+client@4.16.2_prisma@4.16.2/node_modules/@prisma/client in 100ms
[09:18:55.583] You can now start using Prisma Client in your code. Reference: https://pris.ly/d/client
[09:18:55.583] ```
[09:18:55.583] import { PrismaClient } from '@prisma/client'
[09:18:55.584] const prisma = new PrismaClient()
[09:18:55.584] ```
[09:18:55.617] Done in 39.2s
[09:18:55.663] Detected Next.js version: 13.3.2-canary.13
[09:18:55.735] Running "pnpm run build"
[09:18:56.249] 
[09:18:56.249] > taxonomy@0.2.0 build /vercel/path0
[09:18:56.250] > contentlayer build && next build
[09:18:56.250] 
[09:19:00.308] Generated 15 documents in .contentlayer
[09:19:01.929] warn  - You have enabled experimental features (appDir, serverComponentsExternalPackages) in next.config.mjs.
[09:19:01.931] warn  - Experimental features are not covered by semver, and may cause unexpected or broken application behavior. Use at your own risk.
[09:19:01.931] 
[09:19:01.931] info  - Thank you for testing `appDir` please leave your feedback at https://nextjs.link/app-feedback
[09:19:01.951] Attention: Next.js now collects completely anonymous telemetry regarding usage.
[09:19:01.951] This information is used to shape Next.js' roadmap and prioritize features.
[09:19:01.951] You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
[09:19:01.951] https://nextjs.org/telemetry
[09:19:01.951] 
[09:19:02.069] info  - Creating an optimized production build...
[09:19:03.783] Generated 15 documents in .contentlayer
[09:19:28.355] <w> [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Parsing of /vercel/path0/node_modules/.pnpm/@contentlayer+core@0.3.4/node_modules/@contentlayer/core/dist/dynamic-build.js for build dependencies failed at 'import(`file://${compiledConfigPath}`)'.
[09:19:28.357] <w> Build dependencies behind this expression are ignored and might cause incorrect cache invalidation.
[09:19:30.924] <w> [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Parsing of /vercel/path0/node_modules/.pnpm/@contentlayer+core@0.3.4/node_modules/@contentlayer/core/dist/getConfig/index.js for build dependencies failed at 'import(`file://${modulePath}?x=${Date.now()}`)'.
[09:19:30.924] <w> Build dependencies behind this expression are ignored and might cause incorrect cache invalidation.
[09:19:30.936] <w> [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Parsing of /vercel/path0/node_modules/.pnpm/@contentlayer+core@0.3.4/node_modules/@contentlayer/core/dist/generation/generate-dotpkg.js for build dependencies failed at 'import(filePathJoin(generatedPkgPath, 'generated', 'index.mjs'))'.
[09:19:30.937] <w> Build dependencies behind this expression are ignored and might cause incorrect cache invalidation.
[09:19:30.945] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: Can't resolve 'markdown-wasm/dist/markdown.node.js' in '/vercel/path0/node_modules/.pnpm/@contentlayer+core@0.3.4/node_modules/@contentlayer/core/dist/markdown'
[09:19:30.946] <w> while resolving 'markdown-wasm/dist/markdown.node.js' in /vercel/path0/node_modules/.pnpm/@contentlayer+core@0.3.4/node_modules/@contentlayer/core/dist/markdown as file
[09:19:30.946] <w>  at resolve esm file markdown-wasm/dist/markdown.node.js
[09:19:30.946] <w>  at file dependencies /vercel/path0/node_modules/.pnpm/@contentlayer+core@0.3.4/node_modules/@contentlayer/core/dist/markdown/markdown.js
[09:19:30.946] <w>  at file /vercel/path0/node_modules/.pnpm/@contentlayer+core@0.3.4/node_modules/@contentlayer/core/dist/markdown/markdown.js
[09:19:30.947] <w>  at resolve esm file ./markdown/markdown.js
[09:19:30.947] <w>  at file dependencies /vercel/path0/node_modules/.pnpm/@contentlayer+core@0.3.4/node_modules/@contentlayer/core/dist/index.js
[09:19:30.947] <w>  at file /vercel/path0/node_modules/.pnpm/@contentlayer+core@0.3.4/node_modules/@contentlayer/core/dist/index.js
[09:19:30.947] <w>  at resolve esm file @contentlayer/core
[09:19:30.947] <w>  at file dependencies /vercel/path0/node_modules/.pnpm/next-contentlayer@0.3.4_2kjlqg3xxy2fsuzvwml3nc5s6u/node_modules/next-contentlayer/dist/plugin.js
[09:19:30.947] <w>  at file /vercel/path0/node_modules/.pnpm/next-contentlayer@0.3.4_2kjlqg3xxy2fsuzvwml3nc5s6u/node_modules/next-contentlayer/dist/plugin.js
[09:19:30.948] <w>  at resolve esm file ./plugin.js
[09:19:30.948] <w>  at file dependencies /vercel/path0/node_modules/.pnpm/next-contentlayer@0.3.4_2kjlqg3xxy2fsuzvwml3nc5s6u/node_modules/next-contentlayer/dist/index.js
[09:19:30.948] <w>  at file /vercel/path0/node_modules/.pnpm/next-contentlayer@0.3.4_2kjlqg3xxy2fsuzvwml3nc5s6u/node_modules/next-contentlayer/dist/index.js
[09:19:30.948] <w>  at resolve esm file next-contentlayer
[09:19:30.948] <w>  at file dependencies /vercel/path0/next.config.mjs
[09:19:30.948] <w>  at file /vercel/path0/next.config.mjs
[09:19:30.949] <w>  at resolve commonjs /vercel/path0/next.config.mjs
[09:19:35.457] <w> [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Parsing of /vercel/path0/node_modules/.pnpm/@contentlayer+core@0.3.4/node_modules/@contentlayer/core/dist/dynamic-build.js for build dependencies failed at 'import(`file://${compiledConfigPath}`)'.
[09:19:35.457] <w> Build dependencies behind this expression are ignored and might cause incorrect cache invalidation.
[09:19:35.465] <w> [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Parsing of /vercel/path0/node_modules/.pnpm/@contentlayer+core@0.3.4/node_modules/@contentlayer/core/dist/getConfig/index.js for build dependencies failed at 'import(`file://${modulePath}?x=${Date.now()}`)'.
[09:19:35.466] <w> Build dependencies behind this expression are ignored and might cause incorrect cache invalidation.
[09:19:35.484] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: Can't resolve 'markdown-wasm/dist/markdown.node.js' in '/vercel/path0/node_modules/.pnpm/@contentlayer+core@0.3.4/node_modules/@contentlayer/core/dist/markdown'
[09:19:35.485] <w> while resolving 'markdown-wasm/dist/markdown.node.js' in /vercel/path0/node_modules/.pnpm/@contentlayer+core@0.3.4/node_modules/@contentlayer/core/dist/markdown as file
[09:19:35.485] <w>  at resolve esm file markdown-wasm/dist/markdown.node.js
[09:19:35.486] <w>  at file dependencies /vercel/path0/node_modules/.pnpm/@contentlayer+core@0.3.4/node_modules/@contentlayer/core/dist/markdown/markdown.js
[09:19:35.486] <w>  at file /vercel/path0/node_modules/.pnpm/@contentlayer+core@0.3.4/node_modules/@contentlayer/core/dist/markdown/markdown.js
[09:19:35.487] <w>  at resolve esm file ./markdown/markdown.js
[09:19:35.487] <w>  at file dependencies /vercel/path0/node_modules/.pnpm/@contentlayer+core@0.3.4/node_modules/@contentlayer/core/dist/index.js
[09:19:35.487] <w>  at file /vercel/path0/node_modules/.pnpm/@contentlayer+core@0.3.4/node_modules/@contentlayer/core/dist/index.js
[09:19:35.487] <w>  at resolve esm file @contentlayer/core
[09:19:35.488] <w>  at file dependencies /vercel/path0/node_modules/.pnpm/next-contentlayer@0.3.4_2kjlqg3xxy2fsuzvwml3nc5s6u/node_modules/next-contentlayer/dist/plugin.js
[09:19:35.488] <w>  at file /vercel/path0/node_modules/.pnpm/next-contentlayer@0.3.4_2kjlqg3xxy2fsuzvwml3nc5s6u/node_modules/next-contentlayer/dist/plugin.js
[09:19:35.488] <w>  at resolve esm file ./plugin.js
[09:19:35.488] <w>  at file dependencies /vercel/path0/node_modules/.pnpm/next-contentlayer@0.3.4_2kjlqg3xxy2fsuzvwml3nc5s6u/node_modules/next-contentlayer/dist/index.js
[09:19:35.488] <w>  at file /vercel/path0/node_modules/.pnpm/next-contentlayer@0.3.4_2kjlqg3xxy2fsuzvwml3nc5s6u/node_modules/next-contentlayer/dist/index.js
[09:19:35.489] <w>  at resolve esm file next-contentlayer
[09:19:35.489] <w>  at file dependencies /vercel/path0/next.config.mjs
[09:19:35.489] <w>  at file /vercel/path0/next.config.mjs
[09:19:35.489] <w>  at resolve commonjs /vercel/path0/next.config.mjs
[09:19:42.707] <w> [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Parsing of /vercel/path0/node_modules/.pnpm/@contentlayer+core@0.3.4/node_modules/@contentlayer/core/dist/dynamic-build.js for build dependencies failed at 'import(`file://${compiledConfigPath}`)'.
[09:19:42.708] <w> Build dependencies behind this expression are ignored and might cause incorrect cache invalidation.
[09:19:42.715] <w> [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Parsing of /vercel/path0/node_modules/.pnpm/@contentlayer+core@0.3.4/node_modules/@contentlayer/core/dist/getConfig/index.js for build dependencies failed at 'import(`file://${modulePath}?x=${Date.now()}`)'.
[09:19:42.715] <w> Build dependencies behind this expression are ignored and might cause incorrect cache invalidation.
[09:19:42.738] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: Can't resolve 'markdown-wasm/dist/markdown.node.js' in '/vercel/path0/node_modules/.pnpm/@contentlayer+core@0.3.4/node_modules/@contentlayer/core/dist/markdown'
[09:19:42.738] <w> while resolving 'markdown-wasm/dist/markdown.node.js' in /vercel/path0/node_modules/.pnpm/@contentlayer+core@0.3.4/node_modules/@contentlayer/core/dist/markdown as file
[09:19:42.739] <w>  at resolve esm file markdown-wasm/dist/markdown.node.js
[09:19:42.739] <w>  at file dependencies /vercel/path0/node_modules/.pnpm/@contentlayer+core@0.3.4/node_modules/@contentlayer/core/dist/markdown/markdown.js
[09:19:42.739] <w>  at file /vercel/path0/node_modules/.pnpm/@contentlayer+core@0.3.4/node_modules/@contentlayer/core/dist/markdown/markdown.js
[09:19:42.739] <w>  at resolve esm file ./markdown/markdown.js
[09:19:42.739] <w>  at file dependencies /vercel/path0/node_modules/.pnpm/@contentlayer+core@0.3.4/node_modules/@contentlayer/core/dist/index.js
[09:19:42.739] <w>  at file /vercel/path0/node_modules/.pnpm/@contentlayer+core@0.3.4/node_modules/@contentlayer/core/dist/index.js
[09:19:42.740] <w>  at resolve esm file @contentlayer/core
[09:19:42.740] <w>  at file dependencies /vercel/path0/node_modules/.pnpm/next-contentlayer@0.3.4_2kjlqg3xxy2fsuzvwml3nc5s6u/node_modules/next-contentlayer/dist/plugin.js
[09:19:42.740] <w>  at file /vercel/path0/node_modules/.pnpm/next-contentlayer@0.3.4_2kjlqg3xxy2fsuzvwml3nc5s6u/node_modules/next-contentlayer/dist/plugin.js
[09:19:42.740] <w>  at resolve esm file ./plugin.js
[09:19:42.740] <w>  at file dependencies /vercel/path0/node_modules/.pnpm/next-contentlayer@0.3.4_2kjlqg3xxy2fsuzvwml3nc5s6u/node_modules/next-contentlayer/dist/index.js
[09:19:42.741] <w>  at file /vercel/path0/node_modules/.pnpm/next-contentlayer@0.3.4_2kjlqg3xxy2fsuzvwml3nc5s6u/node_modules/next-contentlayer/dist/index.js
[09:19:42.741] <w>  at resolve esm file next-contentlayer
[09:19:42.741] <w>  at file dependencies /vercel/path0/next.config.mjs
[09:19:42.741] <w>  at file /vercel/path0/next.config.mjs
[09:19:42.741] <w>  at resolve commonjs /vercel/path0/next.config.mjs
[09:19:42.742] warn  - Compiled with warnings
[09:19:42.742] 
[09:19:42.742] ./node_modules/.pnpm/next@13.3.2-canary.13_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/server/web/spec-extension/image-response.js
[09:19:42.742] A Node.js API is used (process.turbopack at line: 14) which is not supported in the Edge Runtime.
[09:19:42.743] Learn more: https://nextjs.org/docs/api-reference/edge-runtime
[09:19:42.743] 
[09:19:42.743] Import trace for requested module:
[09:19:42.743] ./node_modules/.pnpm/next@13.3.2-canary.13_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/server/web/spec-extension/image-response.js
[09:19:42.743] ./node_modules/.pnpm/next@13.3.2-canary.13_biqbaboplfbrettd7655fr4n2y/node_modules/next/server.js
[09:19:42.743] ./node_modules/.pnpm/next-auth@4.22.1_wcbyt5utps4bmv4xc5snrl24nm/node_modules/next-auth/next/middleware.js
[09:19:42.744] ./node_modules/.pnpm/next-auth@4.22.1_wcbyt5utps4bmv4xc5snrl24nm/node_modules/next-auth/middleware.js
[09:19:42.744] 
[09:19:42.745] info  - Linting and checking validity of types...
[09:20:00.198] 
[09:20:00.199] Failed to compile.
[09:20:00.199] 
[09:20:00.199] ./app/(marketing)/page.tsx
[09:20:00.199] 73:9  Error: Invalid Tailwind CSS classnames order  tailwindcss/classnames-order
[09:20:00.199] 
[09:20:00.199] info  - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
[09:20:00.306]  ELIFECYCLE  Command failed with exit code 1.
[09:20:00.364] Error: Command "pnpm run build" exited with 1
[09:20:01.345] 
@Piyush-Kumar-Ghosh
Copy link

Hi, @joshbedo,

It seems the issue is related to the plugin. To address the classnames order error, you can use the eslint-plugin-tailwindcss, which allows automatic fixing.

Here's a modification you can make to the lint script in package.json:

"lint": "next lint"
"lint:fix": "next lint --fix"

After making this change, run the following command:

npm run lint:fix

This should resolve the classnames order issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants