Closed thijmenp closed 1 year ago
7:08:45 PM: build-image version: 0143b4617dd9b5b3faed2aefa29c54a846e69aae (focal)
7:08:45 PM: buildbot version: 24f7c9fcfdc0e642a0e84524831960fde1f386d1
7:08:45 PM: Fetching cached dependencies
7:08:45 PM: Starting to download cache of 181.2MB
7:08:48 PM: Finished downloading cache in 2.789s
7:08:48 PM: Starting to extract cache
7:08:49 PM: Finished extracting cache in 1.496s
7:08:49 PM: Finished fetching cache in 4.335s
7:08:49 PM: Starting to prepare the repo for build
7:08:49 PM: Preparing Git Reference pull/32/head
7:08:51 PM: Starting to install dependencies
7:08:51 PM: Python version set to 3.8
7:08:51 PM: Attempting Ruby version 2.7.2, read from environment
7:08:52 PM: Using Ruby version 2.7.2
7:08:52 PM: Started restoring cached go cache
7:08:52 PM: Finished restoring cached go cache
7:08:53 PM: go version go1.19.13 linux/amd64
7:08:54 PM: Using PHP version 8.0
7:08:54 PM: Started restoring cached Node.js version
7:08:55 PM: Finished restoring cached Node.js version
7:08:55 PM: v18.18.0 is already installed.
7:08:56 PM: Now using node v18.18.0 (npm v9.8.1)
7:08:56 PM: Enabling Node.js Corepack
7:08:56 PM: Started restoring cached build plugins
7:08:56 PM: Finished restoring cached build plugins
7:08:56 PM: Started restoring cached corepack dependencies
7:08:56 PM: Finished restoring cached corepack dependencies
7:08:56 PM: No npm workspaces detected
7:08:56 PM: Started restoring cached node modules
7:08:56 PM: Finished restoring cached node modules
7:08:56 PM: Installing npm packages using npm version 9.8.1
7:09:00 PM: npm WARN deprecated @babel/plugin-proposal-class-properties@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
7:09:01 PM: npm WARN deprecated @babel/plugin-proposal-optional-chaining@7.21.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.
7:09:01 PM: npm WARN deprecated @babel/plugin-proposal-nullish-coalescing-operator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.
7:09:01 PM: npm WARN deprecated @babel/plugin-proposal-export-namespace-from@7.18.9: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-export-namespace-from instead.
7:09:01 PM: npm WARN deprecated @babel/plugin-proposal-numeric-separator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-numeric-separator instead.
7:09:01 PM: npm WARN deprecated @babel/plugin-proposal-object-rest-spread@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead.
7:09:05 PM: added 996 packages, changed 2 packages, and audited 1328 packages in 8s
7:09:05 PM: 268 packages are looking for funding
7:09:05 PM: run npm fund
for details
7:09:05 PM: 3 vulnerabilities (1 low, 2 moderate)
7:09:05 PM: To address all issues, run:
7:09:05 PM: npm audit fix --force
7:09:05 PM: Run npm audit
for details.
7:09:05 PM: npm packages installed
7:09:05 PM: Install dependencies script success
7:09:05 PM: Starting build script
7:09:06 PM: Detected 1 framework(s)
7:09:06 PM: "next" at version "13.5.3"
7:09:06 PM: Section completed: initializing
7:09:08 PM:
7:09:08 PM: Netlify Build
7:09:08 PM: ────────────────────────────────────────────────────────────────
7:09:08 PM:
7:09:08 PM: ❯ Version
7:09:08 PM: @netlify/build 29.21.1
7:09:08 PM:
7:09:08 PM: ❯ Flags
7:09:08 PM: baseRelDir: true
7:09:08 PM: buildId: 651d9c1b741cbc0008a53383
7:09:08 PM: deployId: 651d9c1b741cbc0008a53385
7:09:08 PM:
7:09:08 PM: ❯ Current directory
7:09:08 PM: /opt/build/repo
7:09:08 PM:
7:09:08 PM: ❯ Config file
7:09:08 PM: No config file was defined: using default values.
7:09:08 PM:
7:09:08 PM: ❯ Context
7:09:08 PM: deploy-preview
7:09:08 PM:
7:09:08 PM: ❯ Using Next.js Runtime - v4.40.2
7:09:09 PM:
7:09:09 PM: @netlify/plugin-nextjs (onPreBuild event)
7:09:09 PM: ────────────────────────────────────────────────────────────────
7:09:09 PM:
7:09:09 PM: Next.js cache restored.
7:09:09 PM: Netlify configuration property "build.environment.NEXT_PRIVATE_TARGET" value changed.
7:09:09 PM:
7:09:09 PM: (@netlify/plugin-nextjs onPreBuild completed in 99ms)
7:09:09 PM:
7:09:09 PM: Build command from Netlify app
7:09:09 PM: ────────────────────────────────────────────────────────────────
7:09:09 PM:
7:09:09 PM: $ npm run build
7:09:09 PM: > polar-dash@0.1.0 build
7:09:09 PM: > next build
7:09:10 PM: Creating an optimized production build ...
7:09:14 PM: ✓ Compiled successfully
7:09:14 PM: Linting and checking validity of types ...
7:09:15 PM: ⚠ The Next.js plugin was not detected in your ESLint configuration. See https://nextjs.org/docs/basic-features/eslint#migrating-existing-config
7:09:15 PM:
7:09:15 PM: Failed to compile.
7:09:15 PM: ./components/highscore.tsx
7:09:15 PM: 1:1 Error: Parsing error: The keyword "import" is reserved
7:09:15 PM: ./src/app/layout.tsx
7:09:15 PM: 1:1 Error: Parsing error: The keyword "import" is reserved
7:09:15 PM: ./src/app/page.tsx
7:09:15 PM: 1:1 Error: Parsing error: The keyword "import" is reserved
7:09:15 PM: info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
7:09:15 PM:
7:09:15 PM: "build.command" failed
7:09:15 PM: ────────────────────────────────────────────────────────────────
7:09:15 PM:
7:09:15 PM: Error message
7:09:15 PM: Command failed with exit code 1: npm run build (https://ntl.fyi/exit-code-1)
7:09:15 PM:
7:09:15 PM: Error location
7:09:15 PM: In Build command from Netlify app:
7:09:15 PM: npm run build
7:09:15 PM:
7:09:15 PM: Resolved config
7:09:15 PM: build:
7:09:15 PM: command: npm run build
7:09:15 PM: commandOrigin: ui
7:09:15 PM: environment:
7:09:15 PM: - REVIEW_ID
7:09:15 PM: - NEXT_PRIVATE_TARGET
7:09:15 PM: publish: /opt/build/repo/.next
7:09:15 PM: publishOrigin: ui
7:09:15 PM: plugins:
7:09:15 PM: - inputs: {}
7:09:15 PM: origin: ui
7:09:15 PM: package: "@netlify/plugin-nextjs"
7:09:15 PM: Caching artifacts
7:09:15 PM: Started saving node modules
7:09:15 PM: Finished saving node modules
7:09:15 PM: Started saving build plugins
7:09:15 PM: Finished saving build plugins
7:09:15 PM: Started saving corepack cache
7:09:15 PM: Finished saving corepack cache
7:09:15 PM: Started saving pip cache
7:09:16 PM: Failed during stage "building site": Build script returned non-zero exit code: 2
7:09:16 PM: Finished saving pip cache
7:09:16 PM: Started saving emacs cask dependencies
7:09:16 PM: Finished saving emacs cask dependencies
7:09:16 PM: Started saving maven dependencies
7:09:16 PM: Finished saving maven dependencies
7:09:16 PM: Started saving boot dependencies
7:09:16 PM: Finished saving boot dependencies
7:09:16 PM: Started saving rust rustup cache
7:09:16 PM: Finished saving rust rustup cache
7:09:16 PM: Started saving go dependencies
7:09:16 PM: Finished saving go dependencies
7:09:16 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
7:09:16 PM: Failing build: Failed to build site
7:09:16 PM: Finished processing build request in 31.122s
✅ Deploy Preview for polardash ready!
Toggle QR Code...
Use your smartphone camera to open QR code link.
To edit notification comments on pull requests, go to your Netlify site configuration.