Deploy details
Deploy summary
Built using the Next.js Runtime
Build time: 2m 30s. Total deploy time: 2m 51s
Deploy log
3:22:22 AM: Build ready to start
3:22:24 AM: build-image version: c6001ed68662a13e5deb24abec2b46058c58248a
3:22:24 AM: build-image tag: v3.9.0
3:22:24 AM: buildbot version: a46753f8a46f5779133679f5c30f3650c36322f8
3:22:24 AM: Fetching cached dependencies
3:22:24 AM: Failed to fetch cache, continuing with build
3:22:24 AM: Starting to prepare the repo for build
3:22:24 AM: No cached dependencies found. Cloning fresh repo
3:22:24 AM: git clone https://github.com/rbardini/pokedex
3:22:25 AM: Preparing Git Reference pull/9/head
3:22:26 AM: Parsing package.json dependencies
3:22:26 AM: Starting build script
3:22:26 AM: Installing dependencies
3:22:26 AM: Python version set to 2.7
3:22:27 AM: Attempting node version 'lts/*' from .nvmrc
3:22:28 AM: Downloading and installing node v14.17.5...
3:22:28 AM: Downloading https://nodejs.org/dist/v14.17.5/node-v14.17.5-linux-x64.tar.xz...
3:22:28 AM: Computing checksum with sha256sum
3:22:29 AM: Checksums matched!
3:22:32 AM: Now using node v14.17.5 (npm v6.14.14)
3:22:32 AM: Started restoring cached build plugins
3:22:32 AM: Finished restoring cached build plugins
3:22:32 AM: Attempting ruby version 2.7.1, read from environment
3:22:33 AM: Required ruby-2.7.1 is not installed - installing.
3:22:34 AM: Searching for binary rubies, this might take some time.
3:22:34 AM: Found remote file https://rvm_io.global.ssl.fastly.net/binaries/ubuntu/16.04/x86_64/ruby-2.7.1.tar.bz2
3:22:34 AM: Checking requirements for ubuntu.
3:22:35 AM: Requirements installation successful.
3:22:35 AM: ruby-2.7.1 - #configure
3:22:35 AM: ruby-2.7.1 - #download
3:22:36 AM: ruby-2.7.1 - #validate archive
3:22:41 AM: ruby-2.7.1 - #extract
3:22:44 AM: ruby-2.7.1 - #validate binary
3:22:45 AM: ruby-2.7.1 - #setup
3:22:46 AM: ruby-2.7.1 - #gemset created /opt/buildhome/.rvm/gems/ruby-2.7.1@global
3:22:46 AM: ruby-2.7.1 - #importing gemset /opt/buildhome/.rvm/gemsets/global.gems........................................
3:22:46 AM: ruby-2.7.1 - #generating global wrappers........
3:22:46 AM: ruby-2.7.1 - #gemset created /opt/buildhome/.rvm/gems/ruby-2.7.1
3:22:47 AM: ruby-2.7.1 - #importing gemsetfile /opt/buildhome/.rvm/gemsets/default.gems evaluated to empty gem list
3:22:47 AM: ruby-2.7.1 - #generating default wrappers........
3:22:48 AM: Using /opt/buildhome/.rvm/gems/ruby-2.7.1
3:22:48 AM: Using ruby version 2.7.1
3:22:49 AM: Using PHP version 5.6
3:22:49 AM: Started restoring cached node modules
3:22:49 AM: Finished restoring cached node modules
3:22:49 AM: Installing NPM modules using NPM version 6.14.14
3:23:08 AM: npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!
3:23:08 AM: > core-js-pure@3.14.0 postinstall /opt/build/repo/node_modules/core-js-pure
3:23:08 AM: > node -e "try{require('./postinstall')}catch(e){}"
3:23:08 AM: > pokedex@0.1.0 postinstall /opt/build/repo
3:23:08 AM: > husky install
3:23:08 AM: husky - Git hooks installed
3:23:09 AM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):
3:23:09 AM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
3:23:09 AM: added 799 packages from 498 contributors and audited 801 packages in 19.117s
3:23:09 AM: 99 packages are looking for funding
3:23:09 AM: run `npm fund` for details
3:23:09 AM: found 0 vulnerabilities
3:23:09 AM: NPM modules installed
3:23:10 AM: Started restoring cached go cache
3:23:10 AM: Finished restoring cached go cache
3:23:10 AM: go version go1.14.4 linux/amd64
3:23:10 AM: go version go1.14.4 linux/amd64
3:23:10 AM: Installing missing commands
3:23:10 AM: Verify run directory
3:23:10 AM:
3:23:10 AM: ────────────────────────────────────────────────────────────────
3:23:10 AM: Netlify Build
3:23:10 AM: ────────────────────────────────────────────────────────────────
3:23:10 AM:
3:23:10 AM: ❯ Version
3:23:10 AM: @netlify/build 18.2.4
3:23:10 AM:
3:23:10 AM: ❯ Flags
3:23:10 AM: baseRelDir: true
3:23:10 AM: deployId: 6115e56e721cfc0008b2bcea
3:23:10 AM:
3:23:10 AM: ❯ Current directory
3:23:10 AM: /opt/build/repo
3:23:10 AM:
3:23:10 AM: ❯ Config file
3:23:10 AM: /opt/build/repo/netlify.toml
3:23:10 AM:
3:23:10 AM: ❯ Context
3:23:10 AM: deploy-preview
3:23:11 AM:
3:23:11 AM: ❯ Installing plugins
3:23:11 AM: - @netlify/plugin-nextjs@3.8.0
3:23:38 AM:
3:23:38 AM: ❯ Loading plugins
3:23:38 AM: - @netlify/plugin-nextjs@3.8.0 from Netlify app
3:23:38 AM:
3:23:38 AM: ────────────────────────────────────────────────────────────────
3:23:38 AM: 1. onPreBuild command from @netlify/plugin-nextjs
3:23:38 AM: ────────────────────────────────────────────────────────────────
3:23:38 AM:
3:23:38 AM: Using Next.js 11.1.0
3:23:38 AM: Warning: support for Next.js >=11.1.0 is experimental
3:23:38 AM: info - Using webpack 5. Reason: Enabled by default https://nextjs.org/docs/messages/webpack5
3:23:38 AM: The "target" config property must be one of "serverless", "experimental-serverless-trace". Building with "serverless" target.
3:23:39 AM: info - Using webpack 5. Reason: Enabled by default https://nextjs.org/docs/messages/webpack5
3:23:39 AM: No Next.js cache to restore.
3:23:39 AM:
3:23:39 AM: (@netlify/plugin-nextjs onPreBuild completed in 1.2s)
3:23:39 AM:
3:23:39 AM: ────────────────────────────────────────────────────────────────
3:23:39 AM: 2. build.command from netlify.toml
3:23:39 AM: ────────────────────────────────────────────────────────────────
3:23:39 AM:
3:23:39 AM: $ npm run build
3:23:40 AM: > pokedex@0.1.0 build /opt/build/repo
3:23:40 AM: > next build
3:23:41 AM: info - Using webpack 5. Reason: Enabled by default https://nextjs.org/docs/messages/webpack5
3:23:41 AM: info - Checking validity of types...
3:23:49 AM: info - Creating an optimized production build...
3:23:50 AM: info - Using external babel configuration from /opt/build/repo/.babelrc.json
3:23:51 AM: info - Using external babel configuration from /opt/build/repo/.babelrc.json
3:23:54 AM: info - Using external babel configuration from /opt/build/repo/.babelrc.json
3:24:09 AM: info - Using external babel configuration from /opt/build/repo/.babelrc.json
3:24:09 AM: info - Using external babel configuration from /opt/build/repo/.babelrc.json
3:24:10 AM: info - Using external babel configuration from /opt/build/repo/.babelrc.json
3:24:12 AM: (node:3519) [DEP_WEBPACK_CHUNK_HAS_ENTRY_MODULE] DeprecationWarning: Chunk.hasEntryModule: Use new ChunkGraph API
3:24:12 AM: (Use `node --trace-deprecation ...` to show where the warning was created)
3:24:14 AM: warn - Compiled with warnings
3:24:14 AM: ./node_modules/next/dist/server/load-components.js
3:24:14 AM: Critical dependency: the request of a dependency is an expression
3:24:14 AM: ./node_modules/next/dist/server/load-components.js
3:24:14 AM: Critical dependency: the request of a dependency is an expression
3:24:14 AM: ./node_modules/next/dist/server/load-components.js
3:24:14 AM: Critical dependency: the request of a dependency is an expression
3:24:14 AM: ./node_modules/next/dist/server/require.js
3:24:14 AM: Critical dependency: the request of a dependency is an expression
3:24:14 AM: ./node_modules/next/dist/server/require.js
3:24:14 AM: Critical dependency: the request of a dependency is an expression
3:24:14 AM: ./node_modules/next/dist/server/require.js
3:24:14 AM: Critical dependency: the request of a dependency is an expression
3:24:14 AM: info - Collecting page data...
3:24:15 AM: info - Generating static pages (0/154)
3:24:19 AM: info - Generating static pages (38/154)
3:24:20 AM: info - Generating static pages (76/154)
3:24:21 AM: info - Generating static pages (115/154)
3:24:23 AM: info - Generating static pages (154/154)
3:24:23 AM: info - Finalizing page optimization...
3:24:23 AM: Page Size First Load JS
3:24:23 AM: ┌ ● / (1693 ms) 1.04 kB 104 kB
3:24:23 AM: ├ └ css/1501dad5ce5a097cf975.css 358 B
3:24:23 AM: ├ /_app 0 B 85.8 kB
3:24:23 AM: ├ ● /[id] (42194 ms) 2.29 kB 105 kB
3:24:23 AM: ├ └ css/2a4f832bba3fe392f1b6.css 555 B
3:24:23 AM: ├ ├ /2 (1714 ms)
3:24:23 AM: ├ ├ /6 (1473 ms)
3:24:23 AM: ├ ├ /1 (1224 ms)
3:24:23 AM: ├ ├ /4 (1211 ms)
3:24:23 AM: ├ ├ /5 (1205 ms)
3:24:23 AM: ├ ├ /3 (1186 ms)
3:24:23 AM: ├ ├ /130 (942 ms)
3:24:23 AM: ├ └ [+144 more paths]
3:24:23 AM: └ ○ /404 194 B 85.9 kB
3:24:23 AM: + First Load JS shared by all 85.8 kB
3:24:23 AM: ├ chunks/framework.b97a0e.js 42 kB
3:24:23 AM: ├ chunks/main.6cb893.js 23.3 kB
3:24:23 AM: ├ chunks/pages/_app.c4657b.js 19.6 kB
3:24:23 AM: ├ chunks/webpack.ddd010.js 822 B
3:24:23 AM: └ css/707bee78128e9545da3d.css 273 B
3:24:23 AM: λ (Lambda) server-side renders at runtime (uses getInitialProps or getServerSideProps)
3:24:23 AM: ○ (Static) automatically rendered as static HTML (uses no initial props)
3:24:23 AM: ● (SSG) automatically generated as static HTML + JSON (uses getStaticProps)
3:24:23 AM: (ISR) incremental static regeneration (uses revalidate in getStaticProps)
3:24:23 AM:
3:24:23 AM: (build.command completed in 44.2s)
3:24:23 AM:
3:24:23 AM: ────────────────────────────────────────────────────────────────
3:24:23 AM: 3. onBuild command from @netlify/plugin-nextjs
3:24:23 AM: ────────────────────────────────────────────────────────────────
3:24:23 AM:
3:24:23 AM: Detected Next.js site. Copying files...
3:24:23 AM: ** Running Next on Netlify package **
3:24:23 AM: 🚀 Next on Netlify 🚀
3:24:23 AM: 🌍️ Copying public folder to /opt/build/repo
3:24:23 AM: 💼 Copying static NextJS assets to /opt/build/repo
3:24:23 AM: 💫 Setting up API endpoints as Netlify Functions in /opt/build/repo/netlify/functions
3:24:23 AM: 💫 Setting up pages with getInitialProps as Netlify Functions in /opt/build/repo/netlify/functions
3:24:23 AM: 💫 Setting up pages with getServerSideProps as Netlify Functions in /opt/build/repo/netlify/functions
3:24:23 AM: 🔥 Copying pre-rendered pages with getStaticProps and JSON data to /opt/build/repo
3:24:23 AM: 💫 Setting up pages with getStaticProps and fallback: true as Netlify Functions in /opt/build/repo/netlify/functions
3:24:23 AM: 💫 Setting up pages with getStaticProps and revalidation interval as Netlify Functions in /opt/build/repo/netlify/functions
3:24:23 AM: 🔥 Copying pre-rendered pages without props to /opt/build/repo
3:24:24 AM: Building 307 pages
3:24:24 AM: 🔀 Setting up redirects
3:24:24 AM: 🔀 Setting up headers
3:24:24 AM: ✅ Success! All done!
3:24:24 AM:
3:24:24 AM: (@netlify/plugin-nextjs onBuild completed in 484ms)
3:24:24 AM:
3:24:24 AM: ────────────────────────────────────────────────────────────────
3:24:24 AM: 4. Functions bundling
3:24:24 AM: ────────────────────────────────────────────────────────────────
3:24:24 AM:
3:24:25 AM: Packaging Functions from netlify/functions directory:
3:24:25 AM: - next_id/next_id.js
3:24:25 AM: - next_image/next_image.js
3:24:25 AM: - next_index/next_index.js
3:24:25 AM:
3:24:45 AM:
3:24:45 AM: (Functions bundling completed in 20.7s)
3:24:45 AM:
3:24:45 AM: ────────────────────────────────────────────────────────────────
3:24:45 AM: 5. onPostBuild command from @netlify/plugin-nextjs
3:24:45 AM: ────────────────────────────────────────────────────────────────
3:24:45 AM:
3:24:45 AM: Next.js cache saved.
3:24:45 AM:
3:24:45 AM: (@netlify/plugin-nextjs onPostBuild completed in 124ms)
3:24:45 AM:
3:24:45 AM: ────────────────────────────────────────────────────────────────
3:24:45 AM: 6. Deploy site
3:24:45 AM: ────────────────────────────────────────────────────────────────
3:24:45 AM:
3:24:45 AM: Starting to deploy site from '/'
3:24:45 AM: Creating deploy tree
3:24:45 AM: Creating deploy upload records
3:24:46 AM: 169 new files to upload
3:24:46 AM: 3 new functions to upload
3:24:54 AM: Site deploy was successfully initiated
3:24:54 AM:
3:24:54 AM: (Deploy site completed in 9.4s)
3:24:54 AM:
3:24:54 AM: ────────────────────────────────────────────────────────────────
3:24:54 AM: Netlify Build Complete
3:24:54 AM: ────────────────────────────────────────────────────────────────
3:24:54 AM:
3:24:54 AM: (Netlify Build completed in 1m 43.9s)
3:24:54 AM: Starting post processing
3:24:54 AM: Post processing - HTML
3:24:55 AM: Caching artifacts
3:24:55 AM: Started saving node modules
3:24:55 AM: Finished saving node modules
3:24:55 AM: Started saving build plugins
3:24:55 AM: Finished saving build plugins
3:24:55 AM: Started saving pip cache
3:24:55 AM: Finished saving pip cache
3:24:55 AM: Started saving emacs cask dependencies
3:24:55 AM: Finished saving emacs cask dependencies
3:24:55 AM: Started saving maven dependencies
3:24:55 AM: Finished saving maven dependencies
3:24:55 AM: Started saving boot dependencies
3:24:55 AM: Finished saving boot dependencies
3:24:55 AM: Started saving rust rustup cache
3:24:55 AM: Finished saving rust rustup cache
3:24:55 AM: Started saving go dependencies
3:24:55 AM: Finished saving go dependencies
3:24:59 AM: Cached ruby version 2.7.1
3:24:59 AM: Build script success
3:25:15 AM: Post processing - header rules
3:25:15 AM: Post processing - redirect rules
3:25:16 AM: Post processing done
3:25:16 AM: Site is live ✨
3:25:33 AM: Finished processing build request in 3m8.912377962s