11:26:21 AM: Netlify Build 11:26:21 AM: ──────────────────────────────────────────────────────────────── 11:26:21 AM: ​ 11:26:21 AM: ❯ Version 11:26:21 AM: @netlify/build 33.4.6 11:26:21 AM: ​ 11:26:21 AM: ❯ Flags 11:26:21 AM: accountId: 5e0bafeb58d42c7a1e4d887e 11:26:21 AM: baseRelDir: true 11:26:21 AM: buildId: 685c3f252c26530008042d5c 11:26:21 AM: deployId: 685c3f252c26530008042d5e 11:26:21 AM: ​ 11:26:21 AM: ❯ Current directory 11:26:21 AM: /opt/build/repo 11:26:21 AM: ​ 11:26:21 AM: ❯ Config file 11:26:21 AM: No config file was defined: using default values. 11:26:21 AM: ​ 11:26:21 AM: ❯ Context 11:26:21 AM: production 11:26:22 AM: ​ 11:26:22 AM: ❯ Using Next.js Runtime - v5.11.4 11:26:24 AM: Next.js cache restored 11:26:24 AM: ​ 11:26:24 AM: Build command from Netlify app 11:26:24 AM: ──────────────────────────────────────────────────────────────── 11:26:24 AM: ​ 11:26:24 AM: $ pnpm run build 11:26:24 AM: > drive-tutorial@0.1.0 build /opt/build/repo 11:26:24 AM: > next build 11:26:24 AM: ⚠ You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env 11:26:25 AM: ▲ Next.js 15.1.6 11:26:25 AM: Creating an optimized production build ... 11:26:29 AM: [Error: Can't resolve 'tailwindcss' in '/opt/build/repo/src/styles'] { details: "resolve 'tailwindcss' in '/opt/build/repo/src/styles'\n" + 11:26:29 AM: ' Parsed request is a module\n' + 11:26:29 AM: ' using description file: /opt/build/repo/package.json (relative path: ./src/styles)\n' + 11:26:29 AM: ' resolve as module\n' + 11:26:29 AM: " /opt/build/repo/src/styles/node_modules doesn't exist or is not a directory\n" + 11:26:29 AM: " /opt/build/repo/src/node_modules doesn't exist or is not a directory\n" + 11:26:29 AM: ' looking for modules in /opt/build/repo/node_modules\n' + 11:26:29 AM: ' single file module\n' + 11:26:29 AM: ' using description file: /opt/build/repo/package.json (relative path: ./node_modules/tailwindcss)\n' + 11:26:29 AM: ' no extension\n' + 11:26:29 AM: ' /opt/build/repo/node_modules/tailwindcss is not a file\n' + 11:26:29 AM: ' .css\n' + 11:26:29 AM: " /opt/build/repo/node_modules/tailwindcss.css doesn't exist\n" + 11:26:29 AM: ' existing directory /opt/build/repo/node_modules/tailwindcss\n' + 11:26:29 AM: ' using description file: /opt/build/repo/node_modules/tailwindcss/package.json (relative path: .)\n' + 11:26:29 AM: ' using description file: /opt/build/repo/package.json (relative path: ./node_modules/tailwindcss)\n' + 11:26:29 AM: ' no extension\n' + 11:26:29 AM: ' /opt/build/repo/node_modules/tailwindcss is not a file\n' + 11:26:29 AM: ' .css\n' + 11:26:29 AM: " /opt/build/repo/node_modules/tailwindcss.css doesn't exist\n" + 11:26:29 AM: ' as directory\n' + 11:26:29 AM: ' existing directory /opt/build/repo/node_modules/tailwindcss\n' + 11:26:29 AM: ' using description file: /opt/build/repo/node_modules/tailwindcss/package.json (relative path: .)\n' + 11:26:29 AM: ' using path: /opt/build/repo/node_modules/tailwindcss/index\n' + 11:26:29 AM: ' using description file: /opt/build/repo/node_modules/tailwindcss/package.json (relative path: ./index)\n' + 11:26:29 AM: ' no extension\n' + 11:26:29 AM: " /opt/build/repo/node_modules/tailwindcss/index doesn't exist\n" + 11:26:29 AM: ' .css\n' + 11:26:29 AM: " /opt/build/repo/node_modules/tailwindcss/index.css doesn't exist\n" + 11:26:29 AM: " /opt/build/node_modules doesn't exist or is not a directory\n" + 11:26:29 AM: " /opt/node_modules doesn't exist or is not a directory\n" + 11:26:29 AM: " /node_modules doesn't exist or is not a directory\n" + 11:26:29 AM: ' looking for modules in /opt/build/repo/node_modules/.pnpm/next@15.1.6_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/bin/node_modules:/opt/build/repo/node_modules/.pnpm/next@15.1.6_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/node_modules:/opt/build/repo/node_modules/.pnpm/next@15.1.6_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/node_modules:/opt/build/repo/node_modules/.pnpm/next@15.1.6_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules:/opt/build/repo/node_modules/.pnpm/node_modules\n' + 11:26:29 AM: ' single file module\n' + 11:26:29 AM: ' using description file: /opt/build/repo/node_modules/.pnpm/next@15.1.6_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/package.json (relative path: ./dist/bin/node_modules:/opt/build/repo/node_modules/.pnpm/next@15.1.6_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/node_modules:/opt/build/repo/node_modules/.pnpm/next@15.1.6_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/node_modules:/opt/build/repo/node_modules/.pnpm/next@15.1.6_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules:/opt/build/repo/node_modules/.pnpm/node_modules/tailwindcss)\n' + 11:26:29 AM: ' no extension\n' + 11:26:29 AM: " /opt/build/repo/node_modules/.pnpm/next@15.1.6_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/bin/node_modules:/opt/build/repo/node_modules/.pnpm/next@15.1.6_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/node_modules:/opt/build/repo/node_modules/.pnpm/next@15.1.6_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/node_modules:/opt/build/repo/node_modules/.pnpm/next@15.1.6_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules:/opt/build/repo/node_modules/.pnpm/node_modules/tailwindcss doesn't exist\n" + 11:26:29 AM: ' .css\n' + 11:26:29 AM: " /opt/build/repo/node_modules/.pnpm/next@15.1.6_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/bin/node_modules:/opt/build/repo/node_modules/.pnpm/next@15.1.6_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/node_modules:/opt/build/repo/node_modules/.pnpm/next@15.1.6_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/node_modules:/opt/build/repo/node_modules/.pnpm/next@15.1.6_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules:/opt/build/repo/node_modules/.pnpm/node_modules/tailwindcss.css doesn't exist\n" + 11:26:29 AM: " /opt/build/repo/node_modules/.pnpm/next@15.1.6_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/bin/node_modules:/opt/build/repo/node_modules/.pnpm/next@15.1.6_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/node_modules:/opt/build/repo/node_modules/.pnpm/next@15.1.6_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/node_modules:/opt/build/repo/node_modules/.pnpm/next@15.1.6_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules:/opt/build/repo/node_modules/.pnpm/node_modules/tailwindcss doesn't exist" 11:26:29 AM: } 11:26:30 AM: ✓ Compiled successfully 11:26:30 AM: Skipping validation of types 11:26:30 AM: Skipping linting 11:26:31 AM: Collecting page data ... 11:26:32 AM: Generating static pages (0/5) ... 11:26:33 AM: Error: should not be imported outside of pages/_document. 11:26:33 AM: Read more: https://nextjs.org/docs/messages/no-document-import-in-page 11:26:33 AM: at y (.next/server/chunks/793.js:6:1263) 11:26:33 AM: Error occurred prerendering page "/404". Read more: https://nextjs.org/docs/messages/prerender-error 11:26:33 AM: Error: should not be imported outside of pages/_document. 11:26:33 AM: Read more: https://nextjs.org/docs/messages/no-document-import-in-page 11:26:33 AM: at Y (/opt/build/repo/node_modules/.pnpm/next@15.1.6_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js:16:5469) 11:26:33 AM: at y (/opt/build/repo/.next/server/chunks/793.js:6:1263) 11:26:33 AM: at react-stack-bottom-frame (/opt/build/repo/node_modules/.pnpm/react-dom@19.0.0_react@19.0.0/node_modules/react-dom/cjs/react-dom-server.edge.development.js:8798:18) 11:26:33 AM: at renderWithHooks (/opt/build/repo/node_modules/.pnpm/react-dom@19.0.0_react@19.0.0/node_modules/react-dom/cjs/react-dom-server.edge.development.js:4722:19) 11:26:33 AM: at renderElement (/opt/build/repo/node_modules/.pnpm/react-dom@19.0.0_react@19.0.0/node_modules/react-dom/cjs/react-dom-server.edge.development.js:5157:23) 11:26:33 AM: at retryNode (/opt/build/repo/node_modules/.pnpm/react-dom@19.0.0_react@19.0.0/node_modules/react-dom/cjs/react-dom-server.edge.development.js:5805:22) 11:26:33 AM: at renderNodeDestructive (/opt/build/repo/node_modules/.pnpm/react-dom@19.0.0_react@19.0.0/node_modules/react-dom/cjs/react-dom-server.edge.development.js:5631:11) 11:26:33 AM: at renderElement (/opt/build/repo/node_modules/.pnpm/react-dom@19.0.0_react@19.0.0/node_modules/react-dom/cjs/react-dom-server.edge.development.js:5143:11) 11:26:33 AM: at retryNode (/opt/build/repo/node_modules/.pnpm/react-dom@19.0.0_react@19.0.0/node_modules/react-dom/cjs/react-dom-server.edge.development.js:5805:22) 11:26:33 AM: at renderNodeDestructive (/opt/build/repo/node_modules/.pnpm/react-dom@19.0.0_react@19.0.0/node_modules/react-dom/cjs/react-dom-server.edge.development.js:5631:11) 11:26:33 AM: Export encountered an error on /_error: /404, exiting the build. 11:26:33 AM: ⨯ Static worker exited with code: 1 and signal: null 11:26:33 AM:  ELIFECYCLE  Command failed with exit code 1. (https://ntl.fyi/exit-code-1) 11:26:33 AM: ​ 11:26:33 AM: "build.command" failed 11:26:33 AM: ──────────────────────────────────────────────────────────────── 11:26:33 AM: ​ 11:26:33 AM: Error message 11:26:33 AM: Command failed with exit code 1: pnpm run build (https://ntl.fyi/exit-code-1) 11:26:33 AM: ​ 11:26:33 AM: Error location 11:26:33 AM: In Build command from Netlify app: 11:26:33 AM: pnpm run build 11:26:33 AM: ​ 11:26:33 AM: Resolved config 11:26:33 AM: build: 11:26:33 AM: command: pnpm run build 11:26:33 AM: commandOrigin: ui 11:26:33 AM: environment: 11:26:33 AM: - DATABASE_URL 11:26:33 AM: - NODE_ENV 11:26:33 AM: - SINGLESTORE_DB_NAME 11:26:33 AM: - SINGLESTORE_HOST 11:26:33 AM: - SINGLESTORE_PASS 11:26:33 AM: - SINGLESTORE_PORT 11:26:33 AM: - SINGLESTORE_USER 11:26:33 AM: publish: /opt/build/repo/.next 11:26:33 AM: publishOrigin: ui 11:26:33 AM: plugins: 11:26:33 AM: - inputs: {} 11:26:33 AM: origin: ui 11:26:33 AM: package: '@netlify/plugin-nextjs' 11:26:34 AM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2) 11:26:34 AM: Build failed due to a user error: Build script returned non-zero exit code: 2 11:26:34 AM: Failing build: Failed to build site 11:26:34 AM: Finished processing build request in 52.314s