12:41:18 PM: Build ready to start
12:41:20 PM: build-image version: 122b31996ccaffd45d820a452d6227f8312110cc (focal)
12:41:20 PM: build-image tag: v4.5.3
12:41:20 PM: buildbot version: 25fcfe2826afed3a7b9532f47a1782777298db51
12:41:20 PM: Fetching cached dependencies
12:41:20 PM: Starting to download cache of 572.3MB
12:41:23 PM: Finished downloading cache in 2.411187002s
12:41:23 PM: Starting to extract cache
12:41:43 PM: Finished extracting cache in 20.136660727s
12:41:43 PM: Finished fetching cache in 22.648332178s
12:41:43 PM: Starting to prepare the repo for build
12:41:43 PM: Preparing Git Reference pull/1219/head
12:41:46 PM: Parsing package.json dependencies
12:41:46 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
12:41:46 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
12:41:46 PM: Detected ignore command in Netlify configuration file. Proceeding with the specified command: 'git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF ../../'
12:41:47 PM: Starting build script
12:41:47 PM: Installing dependencies
12:41:47 PM: Python version set to 2.7
12:41:47 PM: Started restoring cached node version
12:41:50 PM: Finished restoring cached node version
12:41:51 PM: v16.14.0 is already installed.
12:41:51 PM: Now using node v16.14.0 (npm v8.3.1)
12:41:51 PM: Started restoring cached build plugins
12:41:51 PM: Finished restoring cached build plugins
12:41:51 PM: Attempting ruby version 2.7.2, read from environment
12:41:52 PM: Using ruby version 2.7.2
12:41:53 PM: Using PHP version 8.0
12:41:53 PM: Started restoring cached node modules
12:41:53 PM: Finished restoring cached node modules
12:41:53 PM: Started restoring cached go cache
12:41:53 PM: Finished restoring cached go cache
12:41:53 PM: go version go1.16.5 linux/amd64
12:41:53 PM: go version go1.16.5 linux/amd64
12:41:53 PM: Installing missing commands
12:41:53 PM: Verify run directory
12:41:55 PM: ────────────────────────────────────────────────────────────────
12:41:55 PM: Netlify Build
12:41:55 PM: ────────────────────────────────────────────────────────────────
12:41:55 PM: @netlify/build 26.3.2
12:41:55 PM: baseRelDir: true
12:41:55 PM: buildId: 620b9f0b27ef25000776eb6c
12:41:55 PM: deployId: 620b9f0b27ef25000776eb6e
12:41:55 PM: ❯ Current directory
12:41:55 PM: /opt/build/repo/demos/nx-next-monorepo-demo
12:41:55 PM: ❯ Config file
12:41:55 PM: /opt/build/repo/demos/nx-next-monorepo-demo/netlify.toml
12:41:55 PM: deploy-preview
12:41:55 PM: ❯ Installing local plugins dependencies
12:41:55 PM: - ./local-plugin
12:42:40 PM: ❯ Loading plugins
12:42:40 PM: - ./local-plugin@1.0.0 from netlify.toml
12:42:41 PM: ────────────────────────────────────────────────────────────────
12:42:41 PM: 1. ./local-plugin (onPreBuild event)
12:42:41 PM: ────────────────────────────────────────────────────────────────
12:42:41 PM: Next.js cache restored.
12:42:41 PM: Netlify configuration property "build.environment.NEXT_PRIVATE_TARGET" value changed.
12:42:41 PM: (./local-plugin onPreBuild completed in 108ms)
12:42:41 PM: ────────────────────────────────────────────────────────────────
12:42:41 PM: 2. build.command from netlify.toml
12:42:41 PM: ────────────────────────────────────────────────────────────────
12:42:41 PM: $ npm run build
12:42:41 PM: > nx-nextjs-monorepo@0.0.0 build
12:42:42 PM: > nx run demo-monorepo:build:production [retrieved from cache]
12:42:42 PM: info - Checking validity of types...
12:42:42 PM: We detected TypeScript in your project and reconfigured your tsconfig.json file for you. Strict-mode is set to false by default.
12:42:42 PM: The following suggested values were added to your tsconfig.json. These values can be changed to fit your project's needs:
12:42:42 PM: - incremental was set to true
12:42:42 PM: info - Creating an optimized production build...
12:42:42 PM: info - Compiled successfully
12:42:42 PM: info - Collecting page data...
12:42:42 PM: info - Generating static pages (0/3)
12:42:42 PM: info - Generating static pages (3/3)
12:42:42 PM: info - Finalizing page optimization...
12:42:42 PM: Page Size First Load JS
12:42:42 PM: ┌ ○ / 1.24 kB 71.6 kB
12:42:42 PM: ├ └ css/ef46db3751d8e999.css 20 B
12:42:42 PM: ├ /_app 0 B 70.4 kB
12:42:42 PM: └ ○ /404 193 B 70.6 kB
12:42:42 PM: + First Load JS shared by all 70.4 kB
12:42:42 PM: ├ chunks/framework-c4190dd27fdc6a34.js 42 kB
12:42:42 PM: ├ chunks/main-0b2bde9a15aef57f.js 26.9 kB
12:42:42 PM: ├ chunks/pages/_app-e0a898929d833057.js 688 B
12:42:42 PM: ├ chunks/webpack-69bfa6990bb9e155.js 769 B
12:42:42 PM: └ css/a8b91d652ce50914.css 667 B
12:42:42 PM: ○ (Static) automatically rendered as static HTML (uses no initial props)
12:42:42 PM: ———————————————————————————————————————————————
12:42:42 PM: > NX SUCCESS Running target "build" succeeded
12:42:42 PM: Nx read the output from cache instead of running the command for 1 out of 1 tasks.
12:42:42 PM: (build.command completed in 975ms)
12:42:42 PM: ────────────────────────────────────────────────────────────────
12:42:42 PM: 3. ./local-plugin (onBuild event)
12:42:42 PM: ────────────────────────────────────────────────────────────────
12:42:42 PM: Patching /opt/build/repo/demos/nx-next-monorepo-demo/node_modules/next/dist/server/base-server.js
12:42:42 PM: Moving static page files to serve from CDN...
12:42:42 PM: Moved 1 files
12:42:42 PM: Netlify configuration property "redirects" value changed to [
12:42:42 PM: { from: '/_next/static/*', to: '/static/:splat', status: 200 },
12:42:42 PM: from: '/_next/image*',
12:42:42 PM: query: { url: ':url', w: ':width', q: ':quality' },
12:42:42 PM: to: '/_ipx/w_:width,q_:quality/:url',
12:42:42 PM: { from: '/_ipx/*', to: '/.netlify/builders/_ipx', status: 200 },
12:42:42 PM: { from: '/cache/*', to: '/404.html', status: 404, force: true },
12:42:42 PM: { from: '/server/*', to: '/404.html', status: 404, force: true },
12:42:42 PM: { from: '/serverless/*', to: '/404.html', status: 404, force: true },
12:42:42 PM: { from: '/traces', to: '/404.html', status: 404, force: true },
12:42:42 PM: from: '/routes-manifest.json',
12:42:42 PM: to: '/404.html',
12:42:42 PM: status: 404,
12:42:42 PM: from: '/build-manifest.json',
12:42:42 PM: to: '/404.html',
12:42:42 PM: status: 404,
12:42:42 PM: from: '/prerender-manifest.json',
12:42:42 PM: to: '/404.html',
12:42:42 PM: status: 404,
12:42:42 PM: from: '/react-loadable-manifest.json',
12:42:42 PM: to: '/404.html',
12:42:42 PM: status: 404,
12:42:42 PM: { from: '/BUILD_ID', to: '/404.html', status: 404, force: true },
12:42:42 PM: from: '/api',
12:42:42 PM: to: '/.netlify/functions/___netlify-handler',
12:42:42 PM: from: '/api/*',
12:42:42 PM: to: '/.netlify/functions/___netlify-handler',
12:42:42 PM: from: '/nx-logo-white.svg',
12:42:42 PM: to: '/nx-logo-white.svg',
12:42:42 PM: conditions: { Cookie: [Array] },
12:42:42 PM: from: '/star.svg',
12:42:42 PM: to: '/star.svg',
12:42:42 PM: conditions: { Cookie: [Array] },
12:42:42 PM: to: '/.netlify/functions/___netlify-handler',
12:42:42 PM: status: 200,
12:42:42 PM: conditions: { Cookie: [Array] },
12:42:42 PM: from: '/_next/data/xte9ylvVUZLPXGylFa0l2/index.json',
12:42:42 PM: to: '/.netlify/functions/___netlify-handler',
12:42:42 PM: status: 200,
12:42:42 PM: force: false
12:42:42 PM: to: '/.netlify/functions/___netlify-handler',
12:42:42 PM: status: 200,
12:42:42 PM: force: false
12:42:42 PM: to: '/.netlify/functions/___netlify-handler',
12:42:42 PM: (./local-plugin onBuild completed in 61ms)
12:42:42 PM: ────────────────────────────────────────────────────────────────
12:42:42 PM: 4. Functions bundling
12:42:42 PM: ────────────────────────────────────────────────────────────────
12:42:42 PM: Packaging Functions from .netlify/functions-internal directory:
12:42:42 PM: - ___netlify-handler/___netlify-handler.js
12:42:42 PM: - ___netlify-odb-handler/___netlify-odb-handler.js
12:42:42 PM: - _ipx/_ipx.js
12:42:51 PM: (Functions bundling completed in 8.6s)
12:42:51 PM: ────────────────────────────────────────────────────────────────
12:42:51 PM: 5. ./local-plugin (onPostBuild event)
12:42:51 PM: ────────────────────────────────────────────────────────────────
12:42:51 PM: Next.js cache saved.
12:42:51 PM: (./local-plugin onPostBuild completed in 21ms)
12:42:51 PM: ────────────────────────────────────────────────────────────────
12:42:51 PM: 6. Deploy site
12:42:51 PM: ────────────────────────────────────────────────────────────────
12:42:51 PM: Starting to deploy site from 'demos/nx-next-monorepo-demo/dist/apps/demo-monorepo/.next'
12:42:51 PM: Creating deploy tree
12:42:51 PM: Creating deploy upload records
12:42:51 PM: Using dedicated AWS Lambda account
12:42:51 PM: 1 new files to upload
12:42:51 PM: 3 new functions to upload
12:42:58 PM: Site deploy was successfully initiated
12:42:58 PM: (Deploy site completed in 7.2s)
12:42:58 PM: ────────────────────────────────────────────────────────────────
12:42:58 PM: Netlify Build Complete
12:42:58 PM: ────────────────────────────────────────────────────────────────
12:42:58 PM: (Netlify Build completed in 1m 3.6s)
12:42:58 PM: Starting post processing
12:42:58 PM: Post processing - HTML
12:42:58 PM: Post processing - header rules
12:42:58 PM: Post processing - redirect rules
12:42:59 PM: Post processing done
12:42:59 PM: Caching artifacts
12:42:59 PM: Started saving node modules
12:42:59 PM: Finished saving node modules
12:42:59 PM: Started saving build plugins
12:42:59 PM: Finished saving build plugins
12:42:59 PM: Started saving pip cache
12:42:59 PM: Finished saving pip cache
12:42:59 PM: Started saving emacs cask dependencies
12:42:59 PM: Finished saving emacs cask dependencies
12:42:59 PM: Started saving maven dependencies
12:42:59 PM: Finished saving maven dependencies
12:42:59 PM: Started saving boot dependencies
12:42:59 PM: Finished saving boot dependencies
12:42:59 PM: Started saving rust rustup cache
12:42:59 PM: Finished saving rust rustup cache
12:42:59 PM: Started saving go dependencies
12:42:59 PM: Finished saving go dependencies
12:42:59 PM: Build script success
12:43:00 PM: Site is live ✨
12:44:42 PM: Finished processing build request in 3m21.721193578s