Deploy details
Deploy successful for netlify-plugin-nextjs-next-auth-demo
fix(deps): update dependency @netlify/functions to v2Deploy summary
Built using the Next.js Runtime
Build time: 2m 13s. Total deploy time: 2m 13s
Deploy log
Initializing
Complete
Initializing
Complete
6:34:10 PM: Waiting for other deploys from your team to complete. Check the queue: https://app.netlify.com/teams/netlify-testing/builds
6:36:37 PM: Build ready to start
6:37:15 PM: build-image version: 3d3c7e8b4321e2c1a54a2c4584fb46ba742b1630 (focal)
6:37:15 PM: buildbot version: 588d3e99baf403f31620480ed78c765f2e21ff1d
6:37:15 PM: Fetching cached dependencies
6:37:16 PM: Failed to fetch cache, continuing with build
6:37:16 PM: Starting to prepare the repo for build
6:37:16 PM: No cached dependencies found. Cloning fresh repo
6:37:16 PM: git clone --filter=blob:none https://github.com/netlify/next-runtime
6:37:17 PM: Preparing Git Reference pull/2278/head
6:37:18 PM: Custom publish path detected. Proceeding with the specified path: 'demos/next-auth/.next'
6:37:18 PM: Custom build command detected. Proceeding with the specified command: 'next build'
6:37:18 PM: 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;'
6:37:19 PM: manpath: warning: $PATH not set
6:37:20 PM: Starting to install dependencies
6:37:20 PM: Python version set to 3.8
6:37:20 PM: Attempting Ruby version 2.7.2, read from environment
6:37:21 PM: Using Ruby version 2.7.2
6:37:21 PM: Started restoring cached go cache
6:37:21 PM: Finished restoring cached go cache
6:37:21 PM: Installing Go version 1.16.5 (requested 1.16.5)
6:37:27 PM: go version go1.16.5 linux/amd64
6:37:28 PM: Using PHP version 8.0
6:37:29 PM: Downloading and installing node v16.20.2...
6:37:29 PM: Downloading https://nodejs.org/dist/v16.20.2/node-v16.20.2-linux-x64.tar.xz...
6:37:30 PM: Computing checksum with sha256sum
6:37:30 PM: Checksums matched!
6:37:32 PM: Now using node v16.20.2 (npm v8.19.4)
6:37:32 PM: Enabling Node.js Corepack
6:37:32 PM: Started restoring cached build plugins
6:37:32 PM: Finished restoring cached build plugins
6:37:32 PM: Started restoring cached corepack dependencies
6:37:32 PM: Finished restoring cached corepack dependencies
6:37:32 PM: npm workspaces detected
6:37:32 PM: Installing npm packages using npm version 8.19.4
6:37:34 PM: npm WARN EBADENGINE Unsupported engine {
6:37:34 PM: npm WARN EBADENGINE package: '@netlify/opentelemetry-utils@1.0.2',
6:37:34 PM: npm WARN EBADENGINE required: { node: '>=18.0.0' },
6:37:34 PM: npm WARN EBADENGINE current: { node: 'v16.20.2', npm: '8.19.4' }
6:37:34 PM: npm WARN EBADENGINE }
6:37:34 PM: npm WARN EBADENGINE Unsupported engine {
6:37:34 PM: npm WARN EBADENGINE package: '@netlify/serverless-functions-api@1.18.1',
6:37:34 PM: npm WARN EBADENGINE required: { node: '>=18.0.0' },
6:37:34 PM: npm WARN EBADENGINE current: { node: 'v16.20.2', npm: '8.19.4' }
6:37:34 PM: npm WARN EBADENGINE }
6:37:51 PM: > postinstall
6:37:51 PM: > run-s build install-husky
6:37:51 PM: > build
6:37:51 PM: > npm run build -w packages/next -w packages/runtime
6:37:52 PM: > @netlify/next@1.4.9 build
6:37:52 PM: > tsc
6:37:53 PM: > @netlify/plugin-nextjs@4.41.3 build
6:37:53 PM: > run-s build:*
6:37:53 PM: > @netlify/plugin-nextjs@4.41.3 build:vendor
6:37:53 PM: > 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
6:37:53 PM: Vendored 153 modules into src/templates/vendor directory.
6:37:53 PM: 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.
6:37:54 PM: patching file src/templates/vendor/deno.land/x/html_rewriter@v0.1.0-pre.17/index.ts
6:37:54 PM: > @netlify/plugin-nextjs@4.41.3 build:tsc
6:37:54 PM: > tsc
6:37:57 PM: > install-husky
6:37:57 PM: > if-env CI=1 || husky install node_modules/@netlify/eslint-config-node/.husky
6:37:57 PM: husky - Git hooks installed
6:37:57 PM: added 767 packages, and audited 772 packages in 24s
6:37:57 PM: 155 packages are looking for funding
6:37:57 PM: run `npm fund` for details
6:37:57 PM: 9 vulnerabilities (1 low, 7 moderate, 1 high)
6:37:57 PM: To address all issues, run:
6:37:57 PM: npm audit fix
6:37:57 PM: Run `npm audit` for details.
6:37:57 PM: npm packages installed
6:37:57 PM: Successfully installed dependencies
6:37:57 PM: Starting build script
6:37:59 PM: Detected 1 framework(s)
6:37:59 PM: "next" at version "13.4.3"
6:37:59 PM: Section completed: initializing
Building
Complete
Building
Complete
6:38:00 PM: Netlify Build
6:38:00 PM: ────────────────────────────────────────────────────────────────
6:38:00 PM:
6:38:00 PM: ❯ Version
6:38:00 PM: @netlify/build 29.41.3
6:38:00 PM:
6:38:00 PM: ❯ Flags
6:38:00 PM: baseRelDir: true
6:38:00 PM: buildId: 664651a2501401000829a9a2
6:38:00 PM: deployId: 664651a2501401000829a9a4
6:38:00 PM:
6:38:00 PM: ❯ Current directory
6:38:00 PM: /opt/build/repo/demos/next-auth
6:38:00 PM:
6:38:00 PM: ❯ Config file
6:38:00 PM: /opt/build/repo/demos/next-auth/netlify.toml
6:38:00 PM:
6:38:00 PM: ❯ Context
6:38:00 PM: deploy-preview
6:38:00 PM:
6:38:00 PM: ❯ Installing local plugins dependencies
6:38:00 PM: - ../plugin-wrapper
6:38:12 PM:
6:38:12 PM: ❯ Using Next.js Runtime - v4.41.3
6:38:12 PM:
6:38:12 PM: ❯ Loading plugins
6:38:12 PM: - ../plugin-wrapper@1.0.0 from netlify.toml
6:38:12 PM:
6:38:12 PM: ❯ Outdated plugins
6:38:12 PM: - @netlify/plugin-nextjs@4.41.3: latest version is 5.2.2
6:38:12 PM: To upgrade this plugin, please update its version in "package.json"
6:38:14 PM:
6:38:14 PM: @netlify/plugin-nextjs (onPreBuild event)
6:38:14 PM: ────────────────────────────────────────────────────────────────
6:38:14 PM:
6:38:14 PM: No Next.js cache to restore.
6:38:14 PM:
6:38:14 PM: (@netlify/plugin-nextjs onPreBuild completed in 61ms)
6:38:14 PM:
6:38:14 PM: build.command from netlify.toml
6:38:14 PM: ────────────────────────────────────────────────────────────────
6:38:14 PM:
6:38:14 PM: $ next build
6:38:14 PM: - warn No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache
6:38:14 PM: - info Linting and checking validity of types...
6:38:15 PM: - error ESLint must be installed in order to run during builds: yarn add --dev eslint
6:38:16 PM: - info Creating an optimized production build...
6:38:17 PM: Browserslist: caniuse-lite is outdated. Please run:
6:38:17 PM: npx browserslist@latest --update-db
6:38:17 PM: Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
6:38:20 PM: <w> [webpack.cache.PackFileCacheStrategy] Serializing big strings (659kiB) impacts deserialization performance (consider using Buffer instead and decode when needed)
6:38:21 PM: - warn Compiled with warnings
6:38:21 PM: ../../node_modules/next/dist/server/web/spec-extension/image-response.js
6:38:21 PM: A Node.js API is used (process.turbopack at line: 14) which is not supported in the Edge Runtime.
6:38:21 PM: Learn more: https://nextjs.org/docs/api-reference/edge-runtime
6:38:21 PM: Import trace for requested module:
6:38:21 PM: ../../node_modules/next/dist/server/web/spec-extension/image-response.js
6:38:21 PM: ../../node_modules/next/server.js
6:38:21 PM: ../../node_modules/next-auth/next/middleware.js
6:38:21 PM: ../../node_modules/next-auth/middleware.js
6:38:21 PM: - info Collecting page data...
6:38:34 PM: - info Generating static pages (0/9)
6:38:34 PM: - info Generating static pages (2/9)
6:38:34 PM: - info Generating static pages (4/9)
6:38:34 PM: - info Generating static pages (6/9)
6:38:34 PM: - info Generating static pages (9/9)
6:38:35 PM: - info Finalizing page optimization...
6:38:35 PM: Route (pages) Size First Load JS
6:38:35 PM: ┌ ○ / 1.36 kB 86.7 kB
6:38:35 PM: ├ /_app 0 B 83 kB
6:38:35 PM: ├ ○ /404 181 B 83.1 kB
6:38:35 PM: ├ ○ /admin 1.43 kB 86.8 kB
6:38:35 PM: ├ ○ /api-example 1.41 kB 86.8 kB
6:38:35 PM: ├ λ /api/auth/[...nextauth] 0 B 83 kB
6:38:35 PM: ├ λ /api/examples/jwt 0 B 83 kB
6:38:35 PM: ├ λ /api/examples/protected 0 B 83 kB
6:38:35 PM: ├ λ /api/examples/session 0 B 83 kB
6:38:35 PM: ├ ○ /client 1.54 kB 86.9 kB
6:38:35 PM: ├ ○ /me 1.32 kB 86.7 kB
6:38:35 PM: ├ ○ /policy 1.85 kB 87.2 kB
6:38:35 PM: ├ ○ /protected 1.5 kB 86.9 kB
6:38:35 PM: └ λ /server 1.53 kB 86.9 kB
6:38:35 PM: + First Load JS shared by all 83.3 kB
6:38:35 PM: ├ chunks/framework-722501b40beae0c7.js 45.2 kB
6:38:35 PM: ├ chunks/main-20be3b8a8386c19d.js 26.9 kB
6:38:35 PM: ├ chunks/pages/_app-04dda5cfb7f2ae34.js 10.1 kB
6:38:35 PM: ├ chunks/webpack-8fa1640cc84ba8fe.js 750 B
6:38:35 PM: └ css/0f2f9f9cddf39ce1.css 304 B
6:38:35 PM: ƒ Middleware 214 kB
6:38:35 PM: λ (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps)
6:38:35 PM: ○ (Static) automatically rendered as static HTML (uses no initial props)
6:38:35 PM:
6:38:35 PM: (build.command completed in 21s)
6:38:35 PM:
6:38:35 PM: @netlify/plugin-nextjs (onBuild event)
6:38:35 PM: ────────────────────────────────────────────────────────────────
6:38:35 PM:
6:38:35 PM: NextAuth package detected, setting NEXTAUTH_URL environment variable to https://deploy-preview-2278--netlify-plugin-nextjs-next-auth-demo.netlify.app
6:38:35 PM: Moving static page files to serve from CDN...
6:38:35 PM: Moved 9 files to CDN
6:38:35 PM: You are not using Netlify Edge Functions for image format detection. Set env var "NEXT_FORCE_EDGE_IMAGES=true" to enable.
6:38:35 PM: ✨ Deploying middleware and functions to Netlify Edge Functions ✨
6:38:35 PM:
6:38:35 PM: (@netlify/plugin-nextjs onBuild completed in 305ms)
6:38:35 PM:
6:38:35 PM: Functions bundling
6:38:35 PM: ────────────────────────────────────────────────────────────────
6:38:35 PM:
6:38:35 PM: Packaging Functions from .netlify/functions-internal directory:
6:38:35 PM: - ___netlify-handler/___netlify-handler.js
6:38:35 PM: - ___netlify-odb-handler/___netlify-odb-handler.js
6:38:35 PM: - _ipx/_ipx.js
6:38:35 PM:
6:39:15 PM:
6:39:15 PM: (Functions bundling completed in 39.8s)
6:39:15 PM:
6:39:15 PM: Edge Functions bundling
6:39:15 PM: ────────────────────────────────────────────────────────────────
6:39:15 PM:
6:39:15 PM: Packaging Edge Functions from .netlify/edge-functions directory:
6:39:15 PM: - next_middleware
6:39:20 PM:
6:39:20 PM: (Edge Functions bundling completed in 4.5s)
6:39:20 PM:
6:39:20 PM: @netlify/plugin-nextjs (onPostBuild event)
6:39:20 PM: ────────────────────────────────────────────────────────────────
6:39:20 PM:
6:39:20 PM: Next.js cache saved.
6:39:20 PM: 🧪 Thank you for testing "appDir" support on Netlify. For known issues and to give feedback, visit https://ntl.fyi/next-13-feedback
6:39:20 PM:
6:39:20 PM: (@netlify/plugin-nextjs onPostBuild completed in 90ms)
6:39:20 PM:
6:39:20 PM: Scanning for secrets in code and build output.
6:39:20 PM: ────────────────────────────────────────────────────────────────
6:39:20 PM:
6:39:20 PM: Secrets scanning complete. 764 file(s) scanned. No secrets detected in build output or repo code!
6:39:20 PM:
6:39:20 PM: (Secrets scanning completed in 154ms)
6:39:20 PM:
6:39:28 PM: (Netlify Build completed in 1m 28s)
6:39:46 PM: Section completed: building
6:39:49 PM: Finished processing build request in 2m33.661s
Deploying
Complete
Deploying
Complete
6:39:20 PM: Using dedicated AWS Lambda account
6:39:20 PM: Deploy site
6:39:20 PM: ────────────────────────────────────────────────────────────────
6:39:20 PM:
6:39:20 PM: Starting to deploy site from 'demos/next-auth/.next'
6:39:20 PM: Calculating files to upload
6:39:20 PM: 11 new files to upload
6:39:20 PM: 3 new functions to upload
6:39:28 PM: Section completed: deploying
6:39:28 PM: Site deploy was successfully initiated
6:39:28 PM:
6:39:28 PM: (Deploy site completed in 7.9s)
Cleanup
Complete
Cleanup
Complete
6:39:28 PM: Netlify Build Complete
6:39:28 PM: ────────────────────────────────────────────────────────────────
6:39:28 PM:
6:39:29 PM: Caching artifacts
6:39:29 PM: Started saving workspace packages/runtime node modules
6:39:29 PM: Finished saving workspace packages/runtime node modules
6:39:29 PM: Started saving workspace root node modules
6:39:29 PM: Finished saving workspace root node modules
6:39:29 PM: Started saving build plugins
6:39:29 PM: Finished saving build plugins
6:39:29 PM: Started saving corepack cache
6:39:29 PM: Finished saving corepack cache
6:39:29 PM: Started saving pip cache
6:39:29 PM: Finished saving pip cache
6:39:29 PM: Started saving emacs cask dependencies
6:39:29 PM: Finished saving emacs cask dependencies
6:39:29 PM: Started saving maven dependencies
6:39:29 PM: Finished saving maven dependencies
6:39:29 PM: Started saving boot dependencies
6:39:29 PM: Finished saving boot dependencies
6:39:29 PM: Started saving rust rustup cache
6:39:29 PM: Finished saving rust rustup cache
6:39:29 PM: Started saving go dependencies
6:39:29 PM: Finished saving go dependencies
6:39:46 PM: Build script success
6:39:47 PM: Uploading Cache of size 239.4MB
6:39:49 PM: Section completed: cleanup
Post-processing
Complete
Post-processing
Complete
6:39:28 PM: Post processing - header rules
6:39:28 PM: Starting post processing
6:39:28 PM: Post processing - Forms
6:39:28 PM: Post processing done
6:39:28 PM: Section completed: postprocessing
6:39:28 PM: Post processing - redirect rules
6:39:29 PM: Site is live ✨