8:04:40 PM: Build ready to start
8:04:42 PM: build-image version: 195fbe127e5c374d9c4758652cb62e3b8936a395 (focal)
8:04:42 PM: build-image tag: v4.6.0
8:04:42 PM: buildbot version: 4ac77ee15240cafa5a14a04b6ca18d8959fa98e6
8:04:42 PM: Fetching cached dependencies
8:04:42 PM: Starting to download cache of 583.0MB
8:04:55 PM: Finished downloading cache in 12.526160737s
8:04:55 PM: Starting to extract cache
8:05:11 PM: Finished extracting cache in 16.767320626s
8:05:11 PM: Finished fetching cache in 29.342759643s
8:05:11 PM: Starting to prepare the repo for build
8:05:12 PM: Preparing Git Reference pull/1246/head
8:05:14 PM: Parsing package.json dependencies
8:05:15 PM: Different build dir detected, going to use the one specified in the Netlify configuration file: 'demos/nx-next-monorepo-demo' versus 'demos/nx-next-monorepo-demo/' in the Netlify UI
8:05:15 PM: Different publish path detected, going to use the one specified in the Netlify configuration file: 'demos/nx-next-monorepo-demo/dist/apps/demo-monorepo/.next' versus 'out' in the Netlify UI
8:05:15 PM: Detected ignore command in Netlify configuration file. Proceeding with the specified command: 'git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF ../../'
8:05:15 PM: Starting build script
8:05:15 PM: Installing dependencies
8:05:15 PM: Python version set to 2.7
8:05:15 PM: Started restoring cached node version
8:05:17 PM: Finished restoring cached node version
8:05:17 PM: Downloading and installing node v16.14.2...
8:05:18 PM: Computing checksum with sha256sum
8:05:18 PM: Checksums matched!
8:05:20 PM: Now using node v16.14.2 (npm v8.5.0)
8:05:20 PM: Started restoring cached build plugins
8:05:20 PM: Finished restoring cached build plugins
8:05:20 PM: Attempting ruby version 2.7.2, read from environment
8:05:21 PM: Using ruby version 2.7.2
8:05:21 PM: Using PHP version 8.0
8:05:21 PM: Started restoring cached node modules
8:05:21 PM: Finished restoring cached node modules
8:05:22 PM: Installing NPM modules using NPM version 8.5.0
8:05:23 PM: npm WARN old lockfile
8:05:23 PM: npm WARN old lockfile The package-lock.json file was created with an old version of npm,
8:05:23 PM: npm WARN old lockfile so supplemental metadata must be fetched from the registry.
8:05:23 PM: npm WARN old lockfile
8:05:23 PM: npm WARN old lockfile This is a one-time fix-up, please be patient...
8:05:23 PM: npm WARN old lockfile
8:05:31 PM: changed 3 packages, and audited 1623 packages in 9s
8:05:31 PM: 184 packages are looking for funding
8:05:31 PM: run `npm fund` for details
8:05:31 PM: 2 high severity vulnerabilities
8:05:31 PM: To address all issues, run:
8:05:31 PM: npm audit fix
8:05:31 PM: Run `npm audit` for details.
8:05:31 PM: NPM modules installed
8:05:31 PM: Started restoring cached go cache
8:05:31 PM: Finished restoring cached go cache
8:05:31 PM: go version go1.16.5 linux/amd64
8:05:31 PM: go version go1.16.5 linux/amd64
8:05:31 PM: Installing missing commands
8:05:31 PM: Verify run directory
8:05:32 PM: ────────────────────────────────────────────────────────────────
8:05:32 PM: Netlify Build
8:05:32 PM: ────────────────────────────────────────────────────────────────
8:05:32 PM: @netlify/build 26.5.0
8:05:32 PM: baseRelDir: true
8:05:32 PM: buildId: 623a2b7075e8f20009361374
8:05:32 PM: deployId: 623a2b7075e8f20009361376
8:05:32 PM: ❯ Current directory
8:05:32 PM: /opt/build/repo/demos/nx-next-monorepo-demo
8:05:32 PM: ❯ Config file
8:05:32 PM: /opt/build/repo/demos/nx-next-monorepo-demo/netlify.toml
8:05:32 PM: deploy-preview
8:05:32 PM: ❯ Installing local plugins dependencies
8:05:32 PM: - ./local-plugin
8:06:10 PM: ❯ Loading plugins
8:06:10 PM: - ./local-plugin@1.0.0 from netlify.toml
8:06:12 PM: ────────────────────────────────────────────────────────────────
8:06:12 PM: 1. ./local-plugin (onPreBuild event)
8:06:12 PM: ────────────────────────────────────────────────────────────────
8:06:12 PM: Next.js cache restored.
8:06:12 PM: Netlify configuration property "build.environment.NEXT_PRIVATE_TARGET" value changed.
8:06:12 PM: (./local-plugin onPreBuild completed in 86ms)
8:06:12 PM: ────────────────────────────────────────────────────────────────
8:06:12 PM: 2. build.command from netlify.toml
8:06:12 PM: ────────────────────────────────────────────────────────────────
8:06:12 PM: $ npm run build
8:06:12 PM: > nx-nextjs-monorepo@0.0.0 build
8:06:12 PM: > nx run demo-monorepo:build:production
8:06:14 PM: info - Checking validity of types...
8:06:14 PM: We detected TypeScript in your project and reconfigured your tsconfig.json file for you. Strict-mode is set to false by default.
8:06:14 PM: The following suggested values were added to your tsconfig.json. These values can be changed to fit your project's needs:
8:06:14 PM: - incremental was set to true
8:06:16 PM: info - Creating an optimized production build...
8:06:26 PM: info - Compiled successfully
8:06:26 PM: info - Collecting page data...
8:06:29 PM: info - Generating static pages (0/3)
8:06:29 PM: info - Generating static pages (3/3)
8:06:29 PM: info - Finalizing page optimization...
8:06:29 PM: Page Size First Load JS
8:06:29 PM: ┌ ○ / 1.24 kB 72.4 kB
8:06:29 PM: ├ └ css/ef46db3751d8e999.css 20 B
8:06:29 PM: ├ /_app 0 B 71.1 kB
8:06:29 PM: └ ○ /404 193 B 71.3 kB
8:06:29 PM: + First Load JS shared by all 71.1 kB
8:06:29 PM: ├ chunks/framework-0bff4c72fef67389.js 42 kB
8:06:29 PM: ├ chunks/main-d023307574cbd166.js 27.6 kB
8:06:29 PM: ├ chunks/pages/_app-e0a898929d833057.js 688 B
8:06:29 PM: ├ chunks/webpack-69bfa6990bb9e155.js 769 B
8:06:29 PM: └ css/a8b91d652ce50914.css 667 B
8:06:29 PM: ○ (Static) automatically rendered as static HTML (uses no initial props)
8:06:29 PM: ———————————————————————————————————————————————
8:06:29 PM: > NX SUCCESS Running target "build" succeeded
8:06:29 PM: (build.command completed in 17.5s)
8:06:29 PM: ────────────────────────────────────────────────────────────────
8:06:29 PM: 3. ./local-plugin (onBuild event)
8:06:29 PM: ────────────────────────────────────────────────────────────────
8:06:29 PM: Patching /opt/build/repo/demos/nx-next-monorepo-demo/node_modules/next/dist/server/base-server.js
8:06:29 PM: Moving static page files to serve from CDN...
8:06:29 PM: Moved 1 files
8:06:29 PM: Netlify configuration property "redirects" value changed to [
8:06:29 PM: { from: '/_next/static/*', to: '/static/:splat', status: 200 },
8:06:29 PM: from: '/_next/image*',
8:06:29 PM: query: { url: ':url', w: ':width', q: ':quality' },
8:06:29 PM: to: '/_ipx/w_:width,q_:quality/:url',
8:06:29 PM: { from: '/_ipx/*', to: '/.netlify/builders/_ipx', status: 200 },
8:06:29 PM: { from: '/cache/*', to: '/404.html', status: 404, force: true },
8:06:29 PM: { from: '/server/*', to: '/404.html', status: 404, force: true },
8:06:29 PM: { from: '/serverless/*', to: '/404.html', status: 404, force: true },
8:06:29 PM: { from: '/trace', to: '/404.html', status: 404, force: true },
8:06:29 PM: { from: '/traces', to: '/404.html', status: 404, force: true },
8:06:29 PM: from: '/routes-manifest.json',
8:06:29 PM: to: '/404.html',
8:06:29 PM: from: '/build-manifest.json',
8:06:29 PM: to: '/404.html',
8:06:29 PM: from: '/prerender-manifest.json',
8:06:29 PM: to: '/404.html',
8:06:29 PM: from: '/react-loadable-manifest.json',
8:06:29 PM: to: '/404.html',
8:06:29 PM: { from: '/BUILD_ID', to: '/404.html', status: 404, force: true },
8:06:29 PM: from: '/api',
8:06:29 PM: to: '/.netlify/functions/___netlify-handler',
8:06:29 PM: from: '/api/*',
8:06:29 PM: to: '/.netlify/functions/___netlify-handler',
8:06:29 PM: from: '/nx-logo-white.svg',
8:06:29 PM: to: '/nx-logo-white.svg',
8:06:29 PM: conditions: { Cookie: [Array] },
8:06:29 PM: from: '/star.svg',
8:06:29 PM: to: '/star.svg',
8:06:29 PM: conditions: { Cookie: [Array] },
8:06:29 PM: to: '/.netlify/functions/___netlify-handler',
8:06:29 PM: conditions: { Cookie: [Array] },
8:06:29 PM: from: '/_next/data/3gnk-Rf4lBixesDwHsjz4/index.json',
8:06:29 PM: to: '/.netlify/functions/___netlify-handler',
8:06:29 PM: to: '/.netlify/functions/___netlify-handler',
8:06:29 PM: to: '/.netlify/functions/___netlify-handler',
8:06:29 PM: (./local-plugin onBuild completed in 48ms)
8:06:29 PM: ────────────────────────────────────────────────────────────────
8:06:29 PM: 4. Functions bundling
8:06:29 PM: ────────────────────────────────────────────────────────────────
8:06:29 PM: Packaging Functions from .netlify/functions-internal directory:
8:06:29 PM: - ___netlify-handler/___netlify-handler.js
8:06:29 PM: - ___netlify-odb-handler/___netlify-odb-handler.js
8:06:29 PM: - _ipx/_ipx.js
8:06:37 PM: (Functions bundling completed in 7.3s)
8:06:37 PM: ────────────────────────────────────────────────────────────────
8:06:37 PM: 5. ./local-plugin (onPostBuild event)
8:06:37 PM: ────────────────────────────────────────────────────────────────
8:06:37 PM: Next.js cache saved.
8:06:37 PM: Creating deploy upload records
8:06:37 PM: (./local-plugin onPostBuild completed in 78ms)
8:06:37 PM: ────────────────────────────────────────────────────────────────
8:06:37 PM: 6. Deploy site
8:06:37 PM: Using dedicated AWS Lambda account
8:06:37 PM: ────────────────────────────────────────────────────────────────
8:06:37 PM: Starting to deploy site from 'demos/nx-next-monorepo-demo/dist/apps/demo-monorepo/.next'
8:06:37 PM: Creating deploy tree
8:06:37 PM: 13 new files to upload
8:06:37 PM: 3 new functions to upload
8:06:44 PM: Site deploy was successfully initiated
8:06:44 PM: (Deploy site completed in 7.5s)
8:06:44 PM: ────────────────────────────────────────────────────────────────
8:06:44 PM: Netlify Build Complete
8:06:44 PM: Starting post processing
8:06:44 PM: ────────────────────────────────────────────────────────────────
8:06:44 PM: (Netlify Build completed in 1m 12s)
8:06:45 PM: Caching artifacts
8:06:45 PM: Started saving node modules
8:06:45 PM: Post processing - HTML
8:06:45 PM: Finished saving node modules
8:06:45 PM: Started saving build plugins
8:06:45 PM: Finished saving build plugins
8:06:45 PM: Started saving pip cache
8:06:45 PM: Finished saving pip cache
8:06:45 PM: Started saving emacs cask dependencies
8:06:45 PM: Finished saving emacs cask dependencies
8:06:45 PM: Started saving maven dependencies
8:06:45 PM: Finished saving maven dependencies
8:06:45 PM: Started saving boot dependencies
8:06:45 PM: Finished saving boot dependencies
8:06:45 PM: Started saving rust rustup cache
8:06:45 PM: Finished saving rust rustup cache
8:06:45 PM: Started saving go dependencies
8:06:45 PM: Finished saving go dependencies
8:06:45 PM: Post processing - header rules
8:06:46 PM: Post processing - redirect rules
8:06:46 PM: Post processing done
8:06:48 PM: Build script success
8:06:49 PM: Site is live ✨
8:08:25 PM: Finished processing build request in 3m43.310534375s