Deploy details
Deploy successful for nextjs-plugin-custom-routes-demo
chore(deps): update dependency @netlify/edge-functions to ^2.8.1Deploy summary
Built using the Next.js Runtime
Build time: 1m 41s. Total deploy time: 1m 41s
Deploy log
Initializing
Complete
Initializing
Complete
9:23:19 AM: Build ready to start
9:25:03 AM: build-image version: 3d3c7e8b4321e2c1a54a2c4584fb46ba742b1630 (focal)
9:25:03 AM: buildbot version: 588d3e99baf403f31620480ed78c765f2e21ff1d
9:25:03 AM: Fetching cached dependencies
9:25:03 AM: Starting to download cache of 235.2MB
9:25:05 AM: Finished downloading cache in 1.683s
9:25:05 AM: Starting to extract cache
9:25:07 AM: Finished extracting cache in 2.144s
9:25:07 AM: Finished fetching cache in 3.884s
9:25:07 AM: Starting to prepare the repo for build
9:25:07 AM: Preparing Git Reference pull/2457/head
9:25:08 AM: Custom publish path detected. Proceeding with the specified path: 'demos/custom-routes/.next'
9:25:08 AM: Custom build command detected. Proceeding with the specified command: 'next build'
9:25:08 AM: Custom ignore command detected. Proceeding with the specified command: 'if [ $CACHED_COMMIT_REF == $COMMIT_REF ]; then (exit 1); else git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF ../..; fi;'
9:25:09 AM: manpath: warning: $PATH not set
9:25:10 AM: Starting to install dependencies
9:25:10 AM: Python version set to 3.8
9:25:10 AM: Attempting Ruby version 2.7.2, read from environment
9:25:10 AM: Using Ruby version 2.7.2
9:25:11 AM: Started restoring cached go cache
9:25:11 AM: Finished restoring cached go cache
9:25:11 AM: Installing Go version 1.17 (requested 1.17)
9:25:15 AM: go version go1.17 linux/amd64
9:25:16 AM: Using PHP version 8.0
9:25:17 AM: Started restoring cached Node.js version
9:25:18 AM: Finished restoring cached Node.js version
9:25:18 AM: v16.20.2 is already installed.
9:25:18 AM: Now using node v16.20.2 (npm v8.19.4)
9:25:18 AM: Enabling Node.js Corepack
9:25:18 AM: Started restoring cached build plugins
9:25:18 AM: Finished restoring cached build plugins
9:25:18 AM: Started restoring cached corepack dependencies
9:25:18 AM: Finished restoring cached corepack dependencies
9:25:18 AM: npm workspaces detected
9:25:18 AM: Started restoring workspace packages/runtime node modules
9:25:18 AM: Finished restoring workspace packages/runtime node modules
9:25:18 AM: Started restoring workspace root node modules
9:25:18 AM: Finished restoring workspace root node modules
9:25:19 AM: Installing npm packages using npm version 8.19.4
9:25:20 AM: npm WARN EBADENGINE Unsupported engine {
9:25:20 AM: npm WARN EBADENGINE package: '@netlify/opentelemetry-utils@1.0.2',
9:25:20 AM: npm WARN EBADENGINE required: { node: '>=18.0.0' },
9:25:20 AM: npm WARN EBADENGINE current: { node: 'v16.20.2', npm: '8.19.4' }
9:25:20 AM: npm WARN EBADENGINE }
9:25:26 AM: > postinstall
9:25:26 AM: > run-s build install-husky
9:25:26 AM: > build
9:25:26 AM: > npm run build -w packages/next -w packages/runtime
9:25:26 AM: > @netlify/next@1.4.9 build
9:25:26 AM: > tsc
9:25:28 AM: > @netlify/plugin-nextjs@4.41.3 build
9:25:28 AM: > run-s build:*
9:25:28 AM: > @netlify/plugin-nextjs@4.41.3 build:vendor
9:25:28 AM: > rimraf src/templates/vendor && deno vendor src/templates/vendor.ts --output=src/templates/vendor && node patch-import-map.mjs && patch src/templates/vendor/deno.land/x/html_rewriter@v0.1.0-pre.17/index.ts html_rewriter.patch
9:25:28 AM: Vendored 153 modules into src/templates/vendor directory.
9:25:28 AM: To use vendored modules, specify the `--import-map src/templates/vendor/import_map.json` flag when invoking Deno subcommands or add an `"importMap": "<path_to_vendored_import_map>"` entry to a deno.json file.
9:25:28 AM: patching file src/templates/vendor/deno.land/x/html_rewriter@v0.1.0-pre.17/index.ts
9:25:28 AM: > @netlify/plugin-nextjs@4.41.3 build:tsc
9:25:28 AM: > tsc
9:25:31 AM: > install-husky
9:25:31 AM: > if-env CI=1 || husky install node_modules/@netlify/eslint-config-node/.husky
9:25:31 AM: husky - Git hooks installed
9:25:31 AM: changed 1 package, and audited 766 packages in 12s
9:25:31 AM: 151 packages are looking for funding
9:25:31 AM: run `npm fund` for details
9:25:31 AM: 6 vulnerabilities (1 low, 4 moderate, 1 high)
9:25:31 AM: To address all issues, run:
9:25:31 AM: npm audit fix
9:25:31 AM: Run `npm audit` for details.
9:25:31 AM: npm packages installed
9:25:31 AM: Successfully installed dependencies
9:25:32 AM: Starting build script
9:25:33 AM: Detected 1 framework(s)
9:25:33 AM: "next" at version "13.4.3"
9:25:33 AM: Section completed: initializing
Building
Complete
Building
Complete
9:25:34 AM: Netlify Build
9:25:34 AM: ────────────────────────────────────────────────────────────────
9:25:34 AM:
9:25:34 AM: ❯ Version
9:25:34 AM: @netlify/build 29.41.3
9:25:34 AM:
9:25:34 AM: ❯ Flags
9:25:34 AM: baseRelDir: true
9:25:34 AM: buildId: 664f0b07c0ad960008820214
9:25:34 AM: deployId: 664f0b07c0ad960008820216
9:25:34 AM:
9:25:34 AM: ❯ Current directory
9:25:34 AM: /opt/build/repo/demos/custom-routes
9:25:34 AM:
9:25:34 AM: ❯ Config file
9:25:34 AM: /opt/build/repo/demos/custom-routes/netlify.toml
9:25:34 AM:
9:25:34 AM: ❯ Context
9:25:34 AM: deploy-preview
9:25:34 AM:
9:25:34 AM: ❯ Installing local plugins dependencies
9:25:34 AM: - ../plugin-wrapper
9:25:45 AM:
9:25:45 AM: ❯ Using Next.js Runtime - v4.41.3
9:25:45 AM:
9:25:45 AM: ❯ Loading plugins
9:25:45 AM: - ../plugin-wrapper@1.0.0 from netlify.toml
9:25:45 AM:
9:25:45 AM: ❯ Outdated plugins
9:25:45 AM: - @netlify/plugin-nextjs@4.41.3: latest version is 5.3.0
9:25:45 AM: To upgrade this plugin, please update its version in "package.json"
9:25:46 AM:
9:25:46 AM: @netlify/plugin-nextjs (onPreBuild event)
9:25:46 AM: ────────────────────────────────────────────────────────────────
9:25:46 AM:
9:25:46 AM: Next.js cache restored.
9:25:46 AM:
9:25:46 AM: (@netlify/plugin-nextjs onPreBuild completed in 83ms)
9:25:46 AM:
9:25:46 AM: build.command from netlify.toml
9:25:46 AM: ────────────────────────────────────────────────────────────────
9:25:46 AM:
9:25:46 AM: $ next build
9:25:46 AM: - info Skipping linting
9:25:46 AM: - info Checking validity of types...
9:25:48 AM: - info Creating an optimized production build...
9:25:50 AM: - info Compiled successfully
9:25:50 AM: - info Collecting page data...
9:26:01 AM: - info Generating static pages (0/13)
9:26:01 AM: - info Generating static pages (3/13)
9:26:01 AM: - info Generating static pages (6/13)
9:26:01 AM: - info Generating static pages (9/13)
9:26:01 AM: - info Generating static pages (13/13)
9:26:01 AM: - info Finalizing page optimization...
9:26:01 AM: Route (pages) Size First Load JS
9:26:01 AM: ┌ ○ /_sport/[slug] 374 B 78.3 kB
9:26:01 AM: ├ ○ /_sport/[slug]/test 377 B 78.3 kB
9:26:01 AM: ├ ○ /404 181 B 78.2 kB
9:26:01 AM: ├ ○ /another/[id] 224 B 78.2 kB
9:26:01 AM: ├ λ /api/dynamic/[slug] 0 B 78 kB
9:26:01 AM: ├ λ /api/hello 0 B 78 kB
9:26:01 AM: ├ ○ /auto-export/[slug] 363 B 78.3 kB
9:26:01 AM: ├ ○ /auto-export/another 360 B 78.3 kB
9:26:01 AM: ├ ● /blog-catchall/[...slug] 306 B 78.3 kB
9:26:01 AM: ├ λ /blog/[post] 385 B 78.4 kB
9:26:01 AM: ├ ○ /docs/v2/more/now-for-github 239 B 78.2 kB
9:26:01 AM: ├ λ /hello 349 B 80.7 kB
9:26:01 AM: ├ ○ /hello-again 324 B 80.7 kB
9:26:01 AM: ├ ○ /multi-rewrites 224 B 78.2 kB
9:26:01 AM: ├ ○ /nav 580 B 81 kB
9:26:01 AM: ├ ○ /overridden 289 B 78.3 kB
9:26:01 AM: ├ ○ /redirect-override 233 B 78.2 kB
9:26:01 AM: └ λ /with-params 352 B 78.3 kB
9:26:01 AM: + First Load JS shared by all 78 kB
9:26:01 AM: ├ chunks/framework-722501b40beae0c7.js 45.2 kB
9:26:01 AM: ├ chunks/main-022784a43a0fcb3f.js 31.8 kB
9:26:01 AM: ├ chunks/pages/_app-2a70b67813049b02.js 195 B
9:26:01 AM: └ chunks/webpack-8fa1640cc84ba8fe.js 750 B
9:26:01 AM: λ (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps)
9:26:01 AM: ○ (Static) automatically rendered as static HTML (uses no initial props)
9:26:01 AM: ● (SSG) automatically generated as static HTML + JSON (uses getStaticProps)
9:26:01 AM:
9:26:01 AM: (build.command completed in 15.1s)
9:26:01 AM:
9:26:01 AM: @netlify/plugin-nextjs (onBuild event)
9:26:01 AM: ────────────────────────────────────────────────────────────────
9:26:01 AM:
9:26:01 AM: Moving static page files to serve from CDN...
9:26:01 AM: Moved 7 files to CDN
9:26:01 AM: Skipped moving 2 files because they match redirects or beforeFiles rewrites, so cannot be deployed to the CDN and will be served from the origin instead.
9:26:01 AM: The following files matched redirects and were not moved to the CDN:
9:26:01 AM: - redirect-override.html
9:26:01 AM: ────────────────────────────────────────────────────────────────
9:26:01 AM: The following files matched beforeFiles rewrites and were not moved to the CDN:
9:26:01 AM: - overridden.html
9:26:01 AM: ────────────────────────────────────────────────────────────────
9:26:01 AM: You are not using Netlify Edge Functions for image format detection. Set env var "NEXT_FORCE_EDGE_IMAGES=true" to enable.
9:26:01 AM:
9:26:01 AM: (@netlify/plugin-nextjs onBuild completed in 216ms)
9:26:01 AM:
9:26:01 AM: Functions bundling
9:26:01 AM: ────────────────────────────────────────────────────────────────
9:26:01 AM:
9:26:01 AM: Packaging Functions from .netlify/functions-internal directory:
9:26:01 AM: - ___netlify-handler/___netlify-handler.js
9:26:01 AM: - ___netlify-odb-handler/___netlify-odb-handler.js
9:26:01 AM: - _ipx/_ipx.js
9:26:01 AM:
9:26:36 AM:
9:26:36 AM: (Functions bundling completed in 34.9s)
9:26:36 AM:
9:26:36 AM: Edge Functions bundling
9:26:36 AM: ────────────────────────────────────────────────────────────────
9:26:36 AM:
9:26:37 AM:
9:26:37 AM: (Edge Functions bundling completed in 386ms)
9:26:37 AM:
9:26:37 AM: @netlify/plugin-nextjs (onPostBuild event)
9:26:37 AM: ────────────────────────────────────────────────────────────────
9:26:37 AM:
9:26:37 AM: Next.js cache saved.
9:26:37 AM: 🧪 Thank you for testing "appDir" support on Netlify. For known issues and to give feedback, visit https://ntl.fyi/next-13-feedback
9:26:37 AM:
9:26:37 AM: (@netlify/plugin-nextjs onPostBuild completed in 127ms)
9:26:37 AM:
9:26:37 AM: Scanning for secrets in code and build output.
9:26:37 AM: ────────────────────────────────────────────────────────────────
9:26:37 AM:
9:26:37 AM: Secrets scanning complete. 359 file(s) scanned. No secrets detected in build output or repo code!
9:26:37 AM:
9:26:37 AM: (Secrets scanning completed in 63ms)
9:26:37 AM:
9:26:44 AM: (Netlify Build completed in 1m 10.4s)
9:26:45 AM: Section completed: building
9:26:48 AM: Finished processing build request in 1m44.72s
Deploying
Complete
Deploying
Complete
9:26:37 AM: Using dedicated AWS Lambda account
9:26:37 AM: Deploy site
9:26:37 AM: ────────────────────────────────────────────────────────────────
9:26:37 AM:
9:26:37 AM: Starting to deploy site from 'demos/custom-routes/.next'
9:26:37 AM: Calculating files to upload
9:26:37 AM: 8 new files to upload
9:26:37 AM: 3 new functions to upload
9:26:44 AM: Section completed: deploying
9:26:44 AM: Site deploy was successfully initiated
9:26:44 AM:
9:26:44 AM: (Deploy site completed in 7.2s)
Cleanup
Complete
Cleanup
Complete
9:26:44 AM: Netlify Build Complete
9:26:44 AM: ────────────────────────────────────────────────────────────────
9:26:44 AM:
9:26:45 AM: Caching artifacts
9:26:45 AM: Started saving workspace packages/runtime node modules
9:26:45 AM: Finished saving workspace packages/runtime node modules
9:26:45 AM: Started saving workspace root node modules
9:26:45 AM: Finished saving workspace root node modules
9:26:45 AM: Started saving build plugins
9:26:45 AM: Finished saving build plugins
9:26:45 AM: Started saving corepack cache
9:26:45 AM: Finished saving corepack cache
9:26:45 AM: Started saving pip cache
9:26:45 AM: Finished saving pip cache
9:26:45 AM: Started saving emacs cask dependencies
9:26:45 AM: Finished saving emacs cask dependencies
9:26:45 AM: Started saving maven dependencies
9:26:45 AM: Finished saving maven dependencies
9:26:45 AM: Started saving boot dependencies
9:26:45 AM: Finished saving boot dependencies
9:26:45 AM: Started saving rust rustup cache
9:26:45 AM: Finished saving rust rustup cache
9:26:45 AM: Started saving go dependencies
9:26:45 AM: Finished saving go dependencies
9:26:45 AM: Build script success
9:26:46 AM: Uploading Cache of size 235.1MB
9:26:48 AM: Section completed: cleanup
Post-processing
Complete
Post-processing
Complete
9:26:44 AM: Skipping form detection
9:26:44 AM: Post processing - header rules
9:26:44 AM: Post processing - redirect rules
9:26:44 AM: Starting post processing
9:26:44 AM: Post processing done
9:26:44 AM: Section completed: postprocessing
9:26:45 AM: Site is live ✨