Deploy details
Deploy summary
1 plugin ran successfully
Build time: 2m 31s. Total deploy time: 2m 30s
Deploy log
1:04:26 PM: Build ready to start
1:04:27 PM: build-image version: 122b31996ccaffd45d820a452d6227f8312110cc (focal)
1:04:27 PM: build-image tag: v4.5.3
1:04:27 PM: buildbot version: 94cf4881e10a7b2d529971a176d6ede22bcaeb38
1:04:28 PM: Fetching cached dependencies
1:04:28 PM: Failed to fetch cache, continuing with build
1:04:28 PM: Starting to prepare the repo for build
1:04:28 PM: No cached dependencies found. Cloning fresh repo
1:04:28 PM: git clone https://github.com/netlify/netlify-plugin-nextjs
1:04:31 PM: Preparing Git Reference pull/1187/head
1:04:31 PM: Parsing package.json dependencies
1:04:31 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
1:04:31 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
1:04:31 PM: Detected ignore command in Netlify configuration file. Proceeding with the specified command: 'git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF ../../'
1:04:32 PM: Starting build script
1:04:32 PM: Installing dependencies
1:04:32 PM: Python version set to 2.7
1:04:33 PM: v16.13.2 is already installed.
1:04:33 PM: Now using node v16.13.2 (npm v8.1.2)
1:04:33 PM: Started restoring cached build plugins
1:04:33 PM: Finished restoring cached build plugins
1:04:33 PM: Attempting ruby version 2.7.2, read from environment
1:04:34 PM: Using ruby version 2.7.2
1:04:35 PM: Using PHP version 8.0
1:04:35 PM: Started restoring cached node modules
1:04:35 PM: Finished restoring cached node modules
1:04:35 PM: Installing NPM modules using NPM version 8.1.2
1:04:37 PM: npm WARN old lockfile
1:04:37 PM: npm WARN old lockfile The package-lock.json file was created with an old version of npm,
1:04:37 PM: npm WARN old lockfile so supplemental metadata must be fetched from the registry.
1:04:37 PM: npm WARN old lockfile
1:04:37 PM: npm WARN old lockfile This is a one-time fix-up, please be patient...
1:04:37 PM: npm WARN old lockfile
1:04:53 PM: npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
1:04:55 PM: npm WARN deprecated source-map-resolve@0.6.0: See https://github.com/lydell/source-map-resolve#deprecated
1:04:56 PM: npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
1:05:27 PM: added 1628 packages, and audited 1629 packages in 52s
1:05:27 PM: 185 packages are looking for funding
1:05:27 PM: run `npm fund` for details
1:05:27 PM: found 0 vulnerabilities
1:05:27 PM: NPM modules installed
1:05:27 PM: Started restoring cached go cache
1:05:27 PM: Finished restoring cached go cache
1:05:27 PM: go version go1.16.5 linux/amd64
1:05:27 PM: go version go1.16.5 linux/amd64
1:05:27 PM: Installing missing commands
1:05:27 PM: Verify run directory
1:05:29 PM:
1:05:29 PM: ────────────────────────────────────────────────────────────────
1:05:29 PM: Netlify Build
1:05:29 PM: ────────────────────────────────────────────────────────────────
1:05:29 PM:
1:05:29 PM: ❯ Version
1:05:29 PM: @netlify/build 26.2.2
1:05:29 PM:
1:05:29 PM: ❯ Flags
1:05:29 PM: baseRelDir: true
1:05:29 PM: buildId: 61fa8152a1baa70008f77675
1:05:29 PM: deployId: 61fa8152a1baa70008f77677
1:05:29 PM:
1:05:29 PM: ❯ Current directory
1:05:29 PM: /opt/build/repo/demos/nx-next-monorepo-demo
1:05:29 PM:
1:05:29 PM: ❯ Config file
1:05:29 PM: /opt/build/repo/demos/nx-next-monorepo-demo/netlify.toml
1:05:29 PM:
1:05:29 PM: ❯ Context
1:05:29 PM: deploy-preview
1:05:29 PM:
1:05:29 PM: ❯ Installing local plugins dependencies
1:05:29 PM: - ./local-plugin
1:06:16 PM:
1:06:16 PM: ❯ Loading plugins
1:06:16 PM: - ./local-plugin@1.0.0 from netlify.toml
1:06:18 PM:
1:06:18 PM: ────────────────────────────────────────────────────────────────
1:06:18 PM: 1. ./local-plugin (onPreBuild event)
1:06:18 PM: ────────────────────────────────────────────────────────────────
1:06:18 PM:
1:06:18 PM: No Next.js cache to restore.
1:06:18 PM: Netlify configuration property "build.environment.NEXT_PRIVATE_TARGET" value changed.
1:06:18 PM:
1:06:18 PM: (./local-plugin onPreBuild completed in 41ms)
1:06:18 PM:
1:06:18 PM: ────────────────────────────────────────────────────────────────
1:06:18 PM: 2. build.command from netlify.toml
1:06:18 PM: ────────────────────────────────────────────────────────────────
1:06:18 PM:
1:06:18 PM: $ npm run build
1:06:18 PM: > nx-nextjs-monorepo@0.0.0 build
1:06:18 PM: > nx build
1:06:19 PM: > nx run demo-monorepo:build:production
1:06:20 PM: warn - No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache
1:06:20 PM: info - Checking validity of types...
1:06:20 PM: We detected TypeScript in your project and reconfigured your tsconfig.json file for you. Strict-mode is set to false by default.
1:06:20 PM: The following suggested values were added to your tsconfig.json. These values can be changed to fit your project's needs:
1:06:20 PM: - incremental was set to true
1:06:23 PM: info - Creating an optimized production build...
1:06:32 PM: info - Compiled successfully
1:06:32 PM: info - Collecting page data...
1:06:35 PM: info - Generating static pages (0/3)
1:06:35 PM: info - Generating static pages (3/3)
1:06:36 PM: info - Finalizing page optimization...
1:06:36 PM: Page Size First Load JS
1:06:36 PM: ┌ ○ / 1.24 kB 71.6 kB
1:06:36 PM: ├ └ css/ef46db3751d8e999.css 20 B
1:06:36 PM: ├ /_app 0 B 70.4 kB
1:06:36 PM: └ ○ /404 193 B 70.6 kB
1:06:36 PM: + First Load JS shared by all 70.4 kB
1:06:36 PM: ├ chunks/framework-c4190dd27fdc6a34.js 42 kB
1:06:36 PM: ├ chunks/main-2d99f494ebd7673b.js 26.9 kB
1:06:36 PM: ├ chunks/pages/_app-e0a898929d833057.js 688 B
1:06:36 PM: ├ chunks/webpack-69bfa6990bb9e155.js 769 B
1:06:36 PM: └ css/a8b91d652ce50914.css 667 B
1:06:36 PM: ○ (Static) automatically rendered as static HTML (uses no initial props)
1:06:36 PM: ———————————————————————————————————————————————
1:06:36 PM: > NX SUCCESS Running target "build" succeeded
1:06:36 PM:
1:06:36 PM: (build.command completed in 18.1s)
1:06:36 PM:
1:06:36 PM: ────────────────────────────────────────────────────────────────
1:06:36 PM: 3. ./local-plugin (onBuild event)
1:06:36 PM: ────────────────────────────────────────────────────────────────
1:06:36 PM:
1:06:36 PM: Patching /opt/build/repo/demos/nx-next-monorepo-demo/node_modules/next/dist/server/next-server.js
1:06:36 PM: Moving static page files to serve from CDN...
1:06:36 PM: Moved 1 files
1:06:36 PM: Netlify configuration property "redirects" value changed to [
1:06:36 PM: { from: '/_next/static/*', to: '/static/:splat', status: 200 },
1:06:36 PM: {
1:06:36 PM: from: '/_next/image*',
1:06:36 PM: query: { url: ':url', w: ':width', q: ':quality' },
1:06:36 PM: to: '/_ipx/w_:width,q_:quality/:url',
1:06:36 PM: status: 301
1:06:36 PM: },
1:06:36 PM: { from: '/_ipx/*', to: '/.netlify/builders/_ipx', status: 200 },
1:06:36 PM: { from: '/cache/*', to: '/404.html', status: 404, force: true },
1:06:36 PM: { from: '/server/*', to: '/404.html', status: 404, force: true },
1:06:36 PM: { from: '/serverless/*', to: '/404.html', status: 404, force: true },
1:06:36 PM: { from: '/traces', to: '/404.html', status: 404, force: true },
1:06:36 PM: {
1:06:36 PM: from: '/routes-manifest.json',
1:06:36 PM: to: '/404.html',
1:06:36 PM: status: 404,
1:06:36 PM: force: true
1:06:36 PM: },
1:06:36 PM: {
1:06:36 PM: from: '/build-manifest.json',
1:06:36 PM: to: '/404.html',
1:06:36 PM: status: 404,
1:06:36 PM: force: true
1:06:36 PM: },
1:06:36 PM: {
1:06:36 PM: from: '/prerender-manifest.json',
1:06:36 PM: to: '/404.html',
1:06:36 PM: status: 404,
1:06:36 PM: force: true
1:06:36 PM: },
1:06:36 PM: {
1:06:36 PM: from: '/react-loadable-manifest.json',
1:06:36 PM: to: '/404.html',
1:06:36 PM: status: 404,
1:06:36 PM: force: true
1:06:36 PM: },
1:06:36 PM: { from: '/BUILD_ID', to: '/404.html', status: 404, force: true },
1:06:36 PM: {
1:06:36 PM: from: '/api',
1:06:36 PM: to: '/.netlify/functions/___netlify-handler',
1:06:36 PM: status: 200
1:06:36 PM: },
1:06:36 PM: {
1:06:36 PM: from: '/api/*',
1:06:36 PM: to: '/.netlify/functions/___netlify-handler',
1:06:36 PM: status: 200
1:06:36 PM: },
1:06:36 PM: {
1:06:36 PM: from: '/nx-logo-white.svg',
1:06:36 PM: to: '/nx-logo-white.svg',
1:06:36 PM: conditions: { Cookie: [Array] },
1:06:36 PM: status: 200
1:06:36 PM: },
1:06:36 PM: {
1:06:36 PM: from: '/star.svg',
1:06:36 PM: to: '/star.svg',
1:06:36 PM: conditions: { Cookie: [Array] },
1:06:36 PM: status: 200
1:06:36 PM: },
1:06:36 PM: {
1:06:36 PM: from: '/*',
1:06:36 PM: to: '/.netlify/functions/___netlify-handler',
1:06:36 PM: status: 200,
1:06:36 PM: conditions: { Cookie: [Array] },
1:06:36 PM: force: true
1:06:36 PM: },
1:06:36 PM: {
1:06:36 PM: from: '/_next/data/lWx8XNIn_30HrvUPdfSFQ/index.json',
1:06:36 PM: to: '/.netlify/functions/___netlify-handler',
1:06:36 PM: status: 200,
1:06:36 PM: force: false
1:06:36 PM: },
1:06:36 PM: {
1:06:36 PM: from: '/',
1:06:36 PM: to: '/.netlify/functions/___netlify-handler',
1:06:36 PM: status: 200,
1:06:36 PM: force: false
1:06:36 PM: },
1:06:36 PM: {
1:06:36 PM: from: '/*',
1:06:36 PM: to: '/.netlify/functions/___netlify-handler',
1:06:36 PM: status: 200
1:06:36 PM: }
1:06:36 PM: ].
1:06:36 PM:
1:06:36 PM: (./local-plugin onBuild completed in 62ms)
1:06:36 PM:
1:06:36 PM: ────────────────────────────────────────────────────────────────
1:06:36 PM: 4. Functions bundling
1:06:36 PM: ────────────────────────────────────────────────────────────────
1:06:36 PM:
1:06:36 PM: Packaging Functions from .netlify/functions-internal directory:
1:06:36 PM: - ___netlify-handler/___netlify-handler.js
1:06:36 PM: - ___netlify-odb-handler/___netlify-odb-handler.js
1:06:36 PM: - _ipx/_ipx.js
1:06:36 PM:
1:06:45 PM:
1:06:45 PM: (Functions bundling completed in 8.9s)
1:06:45 PM:
1:06:45 PM: ────────────────────────────────────────────────────────────────
1:06:45 PM: 5. ./local-plugin (onPostBuild event)
1:06:45 PM: ────────────────────────────────────────────────────────────────
1:06:45 PM:
1:06:45 PM: Next.js cache saved.
1:06:45 PM:
1:06:45 PM: (./local-plugin onPostBuild completed in 73ms)
1:06:45 PM:
1:06:45 PM: ────────────────────────────────────────────────────────────────
1:06:45 PM: 6. Deploy site
1:06:45 PM: ────────────────────────────────────────────────────────────────
1:06:45 PM:
1:06:45 PM: Starting to deploy site from 'demos/nx-next-monorepo-demo/dist/apps/demo-monorepo/.next'
1:06:45 PM: Creating deploy tree
1:06:45 PM: Creating deploy upload records
1:06:45 PM: Using dedicated AWS Lambda account
1:06:51 PM: 14 new files to upload
1:06:51 PM: 2 new functions to upload
1:06:58 PM: Site deploy was successfully initiated
1:06:58 PM:
1:06:58 PM: (Deploy site completed in 12.9s)
1:06:58 PM:
1:06:58 PM: ────────────────────────────────────────────────────────────────
1:06:58 PM: Netlify Build Complete
1:06:58 PM: ────────────────────────────────────────────────────────────────
1:06:58 PM:
1:06:58 PM: (Netlify Build completed in 1m 29.1s)
1:06:58 PM: Starting post processing
1:06:58 PM: Post processing - HTML
1:06:58 PM: Caching artifacts
1:06:58 PM: Started saving node modules
1:06:58 PM: Finished saving node modules
1:06:58 PM: Started saving build plugins
1:06:58 PM: Finished saving build plugins
1:06:58 PM: Started saving pip cache
1:06:58 PM: Finished saving pip cache
1:06:58 PM: Started saving emacs cask dependencies
1:06:58 PM: Finished saving emacs cask dependencies
1:06:58 PM: Started saving maven dependencies
1:06:58 PM: Finished saving maven dependencies
1:06:58 PM: Started saving boot dependencies
1:06:58 PM: Finished saving boot dependencies
1:06:58 PM: Started saving rust rustup cache
1:06:58 PM: Finished saving rust rustup cache
1:06:58 PM: Started saving go dependencies
1:06:58 PM: Finished saving go dependencies
1:06:58 PM: Post processing - header rules
1:06:58 PM: Post processing - redirect rules
1:06:58 PM: Post processing done
1:06:59 PM: Site is live ✨
1:07:00 PM: Build script success
1:07:40 PM: Finished processing build request in 3m12.607106613s