Failed to deploy

I need advice to debug deploy Netlify App

I don’t use Next Image but I got error about Next Image :frowning:

The deploy log is not public. Kindly paste it here.

Oops sorry. Here is the deploy log. The weird thing is when I revert back to commit that I believe it’s good to build, it’s still failed.

11:46:09 PM: Build ready to start
11:46:11 PM: build-image version: 09c2cdcdf242cf2f57c9ee0fcad9d298fad9ad41
11:46:11 PM: build-image tag: v3.5.0
11:46:11 PM: buildbot version: 92401c20a786cb1d10de411d95c4bfae445aeadc
11:46:11 PM: Fetching cached dependencies
11:46:11 PM: Failed to fetch cache, continuing with build
11:46:11 PM: Starting to prepare the repo for build
11:46:12 PM: No cached dependencies found. Cloning fresh repo
11:46:12 PM: git clone https://github.com/latecheckout/nicebreak
11:46:13 PM: Preparing Git Reference pull/27/head
11:46:15 PM: Starting build script
11:46:15 PM: Installing dependencies
11:46:15 PM: Python version set to 2.7
11:46:17 PM: v12.18.0 is already installed.
11:46:18 PM: Now using node v12.18.0 (npm v6.14.4)
11:46:18 PM: Started restoring cached build plugins
11:46:18 PM: Finished restoring cached build plugins
11:46:18 PM: Attempting ruby version 2.7.1, read from environment
11:46:20 PM: Using ruby version 2.7.1
11:46:20 PM: Using PHP version 5.6
11:46:20 PM: Started restoring cached node modules
11:46:20 PM: Finished restoring cached node modules
11:46:20 PM: Started restoring cached yarn cache
11:46:20 PM: Finished restoring cached yarn cache
11:46:20 PM: Installing yarn at version 1.22.4
11:46:20 PM: Installing Yarn!
11:46:20 PM: > Downloading tarball...
11:46:20 PM: [1/2]: https://yarnpkg.com/downloads/1.22.4/yarn-v1.22.4.tar.gz --> /tmp/yarn.tar.gz.Zi2itRd7dW
11:46:20 PM:   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
11:46:20 PM:                                  Dload  Upload   Total   Spent    Left  Speed
11:46:20 PM:   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
11:46:21 PM:   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
11:46:21 PM: 100    80  100    80    0     0    229      0 --:--:-- --:--:-- --:--:--   229
11:46:21 PM: 100    93  100    93    0     0    142      0 --:--:-- --:--:-- --:--:--   142
11:46:21 PM: 100   643  100   643    0     0    694      0 --:--:-- --:--:-- --:--:--   694
11:46:22 PM:   1 1215k    1 20042    0     0  16560      0  0:01:15  0:00:01  0:01:14 16560
11:46:22 PM: 100 1215k  100 1215k    0     0   894k      0  0:00:01  0:00:01 --:--:-- 8081k
11:46:22 PM: [2/2]: https://yarnpkg.com/downloads/1.22.4/yarn-v1.22.4.tar.gz.asc --> /tmp/yarn.tar.gz.Zi2itRd7dW.asc
11:46:22 PM: 100    84  100    84    0     0   2927      0 --:--:-- --:--:-- --:--:--  2927
11:46:22 PM: 100    97  100    97    0     0   1670      0 --:--:-- --:--:-- --:--:--  1670
11:46:22 PM: 100   647  100   647    0     0   7195      0 --:--:-- --:--:-- --:--:--  7195
11:46:22 PM: 100  1028  100  1028    0     0   7658      0 --:--:-- --:--:-- --:--:--  7658
11:46:22 PM: > Verifying integrity...
11:46:22 PM: gpg: Signature made Mon 09 Mar 2020 03:52:13 PM UTC using RSA key ID 69475BAA
11:46:22 PM: gpg: Good signature from "Yarn Packaging <yarn@dan.cx>"
11:46:22 PM: gpg: WARNING: This key is not certified with a trusted signature!
11:46:22 PM: gpg:          There is no indication that the signature belongs to the owner.
11:46:22 PM: Primary key fingerprint: 72EC F46A 56B4 AD39 C907  BBB7 1646 B01B 86E5 0310
11:46:22 PM:      Subkey fingerprint: 6D98 490C 6F1A CDDD 448E  4595 4F77 6793 6947 5BAA
11:46:22 PM: > GPG signature looks good
11:46:22 PM: > Extracting to ~/.yarn...
11:46:22 PM: > Adding to $PATH...
11:46:22 PM: > Successfully installed Yarn 1.22.4! Please open another terminal where the `yarn` command will now be available.
11:46:23 PM: Installing NPM modules using Yarn version 1.22.4
11:46:23 PM: yarn install v1.22.4
11:46:23 PM: warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
11:46:23 PM: [1/4] Resolving packages...
11:46:25 PM: [2/4] Fetching packages...
11:46:42 PM: warning url-loader@1.1.2: Invalid bin field for "url-loader".
11:46:49 PM: info fsevents@2.1.3: The platform "linux" is incompatible with this module.
11:46:49 PM: info "fsevents@2.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
11:46:49 PM: info fsevents@1.2.13: The platform "linux" is incompatible with this module.
11:46:49 PM: info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation.
11:46:49 PM: [3/4] Linking dependencies...
11:46:49 PM: warning " > @material-ui/core@4.11.0" has incorrect peer dependency "react@^16.8.0".
11:46:49 PM: warning " > @material-ui/core@4.11.0" has incorrect peer dependency "react-dom@^16.8.0".
11:46:49 PM: warning "@material-ui/core > @material-ui/styles@4.10.0" has incorrect peer dependency "react@^16.8.0".
11:46:49 PM: warning "@material-ui/core > @material-ui/styles@4.10.0" has incorrect peer dependency "react-dom@^16.8.0".
11:46:49 PM: warning "@material-ui/core > @material-ui/system@4.9.14" has incorrect peer dependency "react@^16.8.0".
11:46:49 PM: warning "@material-ui/core > @material-ui/system@4.9.14" has incorrect peer dependency "react-dom@^16.8.0".
11:46:49 PM: warning "@material-ui/core > @material-ui/utils@4.10.2" has incorrect peer dependency "react@^16.8.0".
11:46:49 PM: warning "@material-ui/core > @material-ui/utils@4.10.2" has incorrect peer dependency "react-dom@^16.8.0".
11:46:49 PM: warning " > babel-plugin-inline-react-svg@1.1.1" has unmet peer dependency "@babel/core@^7.0.0".
11:46:49 PM: warning " > framer-motion@2.5.5" has incorrect peer dependency "react@^16.8".
11:46:49 PM: warning " > framer-motion@2.5.5" has incorrect peer dependency "react-dom@^16.8".
11:46:49 PM: warning " > lqip-loader@2.2.0" has unmet peer dependency "file-loader@*".
11:46:49 PM: warning "next-optimized-images > file-loader@3.0.1" has unmet peer dependency "webpack@^4.0.0".
11:46:49 PM: warning "next-optimized-images > raw-loader@2.0.0" has unmet peer dependency "webpack@^4.3.0".
11:46:49 PM: warning "next-optimized-images > url-loader@1.1.2" has unmet peer dependency "webpack@^3.0.0 || ^4.0.0".
11:46:49 PM: warning " > react-accessible-accordion@3.3.3" has incorrect peer dependency "react@^16.3.2".
11:46:49 PM: warning " > react-accessible-accordion@3.3.3" has incorrect peer dependency "react-dom@^16.3.3".
11:46:49 PM: warning " > react-datepicker@3.1.3" has incorrect peer dependency "react@^16.9.0".
11:46:49 PM: warning " > react-datepicker@3.1.3" has incorrect peer dependency "react-dom@^16.9.0".
11:46:49 PM: warning "react-datepicker > react-onclickoutside@6.9.0" has incorrect peer dependency "react@^15.5.x || ^16.x".
11:46:49 PM: warning "react-datepicker > react-onclickoutside@6.9.0" has incorrect peer dependency "react-dom@^15.5.x || ^16.x".
11:46:49 PM: warning "react-datepicker > react-popper@1.3.7" has incorrect peer dependency "react@0.14.x || ^15.0.0 || ^16.0.0".
11:46:49 PM: warning "react-datepicker > react-popper > create-react-context@0.3.0" has incorrect peer dependency "react@^0.14.0 || ^15.0.0 || ^16.0.0".
11:46:49 PM: warning " > react-headroom@3.0.0" has incorrect peer dependency "react@^16.3.0".
11:46:49 PM: warning " > react-imgix@9.0.2" has unmet peer dependency "prop-types@>=15.5.6".
11:46:49 PM: warning " > webp-loader@0.6.0" has unmet peer dependency "webpack@*".
11:46:49 PM: warning " > webp-loader@0.6.0" has unmet peer dependency "webpack-cli@*".
11:47:00 PM: [4/4] Building fresh packages...
11:47:07 PM: success Saved lockfile.
11:47:07 PM: Done in 43.85s.
11:47:07 PM: NPM modules installed using Yarn
11:47:08 PM: Started restoring cached go cache
11:47:08 PM: Finished restoring cached go cache
11:47:08 PM: go version go1.14.4 linux/amd64
11:47:08 PM: go version go1.14.4 linux/amd64
11:47:08 PM: Installing missing commands
11:47:08 PM: Verify run directory
11:47:10 PM: ​
11:47:10 PM: β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
11:47:10 PM: β”‚        Netlify Build        β”‚
11:47:10 PM: β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
11:47:10 PM: ​
11:47:10 PM: ❯ Version
11:47:10 PM:   @netlify/build 5.3.1
11:47:10 PM: ​
11:47:10 PM: ❯ Flags
11:47:10 PM:   deployId: 5fb54fd104b9b30007743568
11:47:10 PM:   mode: buildbot
11:47:10 PM: ​
11:47:10 PM: ❯ Current directory
11:47:10 PM:   /opt/build/repo
11:47:10 PM: ​
11:47:10 PM: ❯ Config file
11:47:10 PM:   /opt/build/repo/netlify.toml
11:47:10 PM: ​
11:47:10 PM: ❯ Context
11:47:10 PM:   deploy-preview
11:47:10 PM: ​
11:47:10 PM: β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
11:47:10 PM: β”‚ 1. build.command from netlify.toml β”‚
11:47:10 PM: β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
11:47:10 PM: ​
11:47:10 PM: $ npm run build && npm run export
11:47:10 PM: > ncbrk@0.1.0 build /opt/build/repo
11:47:10 PM: > next build
11:47:12 PM: Loaded env from /opt/build/repo/.env
11:47:12 PM: warn  - No build cache found. Please configure build caching for faster rebuilds. Read more: https://err.sh/next.js/no-cache
11:47:12 PM: info  - Creating an optimized production build...
11:47:13 PM: info  - Using external babel configuration from /opt/build/repo/.babelrc
11:48:20 PM: info  - Compiled successfully
11:48:20 PM: info  - Collecting page data...
11:48:22 PM: info  - Generating static pages (0/63)
11:48:24 PM: {
11:48:24 PM:   slice_type: 'testimonial',
11:48:24 PM:   slice_label: null,
11:48:24 PM:   items: [ {} ],
11:48:24 PM:   primary: {
11:48:24 PM:     image: {
11:48:24 PM:       dimensions: [Object],
11:48:24 PM:       alt: 'Chelsea - Tiny Tails to You',
11:48:24 PM:       copyright: null,
11:48:24 PM:       url: 'https://images.prismic.io/ncbrk/a1384e30-b818-4fea-9377-2e5accb5b2a8_chelsea-tiny-tails-to-you.jpg?auto=compress,format'
11:48:24 PM:     },
11:48:24 PM:     testimonial: [ [Object], [Object] ]
11:48:24 PM:   }
11:48:24 PM: }
11:48:24 PM: {
11:48:24 PM:   page: 1,
11:48:24 PM:   results_per_page: 20,
11:48:24 PM:   results_size: 16,
11:48:24 PM:   total_results_size: 16,
11:48:24 PM:   total_pages: 1,
11:48:24 PM:   next_page: null,
11:48:24 PM:   prev_page: null,
11:48:24 PM:   results: [
11:48:24 PM:     {
11:48:24 PM:       id: 'X5m6yhAAACEAQhCT',
11:48:24 PM:       uid: 'movement-break',
11:48:24 PM:       type: 'event',
11:48:24 PM:       href: 'https://ncbrk.cdn.prismic.io/api/v2/documents/search?ref=X7TSWhIAACMAg5j6&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22X5m6yhAAACEAQhCT%22%29+%5D%5D',
11:48:24 PM:       tags: [Array],
11:48:24 PM:       first_publication_date: '2020-10-28T18:56:35+0000',
11:48:24 PM:       last_publication_date: '2020-11-18T07:49:53+0000',
11:48:24 PM:       slugs: [Array],
11:48:24 PM:       linked_documents: [],
11:48:24 PM:       lang: 'en-us',
11:48:24 PM:       alternate_languages: [],
11:48:24 PM:       data: [Object]
11:48:24 PM:     },
11:48:24 PM:     {
11:48:24 PM:       id: 'X5mxaBAAACEAQeW3',
11:48:24 PM:       uid: 'movement-practice',
11:48:24 PM:       type: 'event',
11:48:24 PM:       href: 'https://ncbrk.cdn.prismic.io/api/v2/documents/search?ref=X7TSWhIAACMAg5j6&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22X5mxaBAAACEAQeW3%22%29+%5D%5D',
11:48:24 PM:       tags: [Array],
11:48:24 PM:       first_publication_date: '2020-10-28T18:53:36+0000',
11:48:24 PM:       last_publication_date: '2020-10-28T19:19:25+0000',
11:48:24 PM:       slugs: [Array],
11:48:24 PM:       linked_documents: [],
11:48:24 PM:       lang: 'en-us',
11:48:24 PM:       alternate_languages: [],
11:48:24 PM:       data: [Object]
11:48:24 PM:     },
11:48:24 PM:     {
11:48:24 PM:       id: 'X5mhfxAAACIAQZ1o',
11:48:24 PM:       uid: 'breath-reset',
11:48:24 PM:       type: 'event',
11:48:24 PM:       href: 'https://ncbrk.cdn.prismic.io/api/v2/documents/search?ref=X7TSWhIAACMAg5j6&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22X5mhfxAAACIAQZ1o%22%29+%5D%5D',
11:48:24 PM:       tags: [Array],
11:48:24 PM:       first_publication_date: '2020-10-28T16:52:03+0000',
11:48:24 PM:       last_publication_date: '2020-10-28T19:20:58+0000',
11:48:24 PM:       slugs: [Array],
11:48:24 PM:       linked_documents: [],
11:48:24 PM:       lang: 'en-us',
11:48:24 PM:       alternate_languages: [],
11:48:24 PM:       data: [Object]
11:48:24 PM:     },
11:48:24 PM:     {
11:48:24 PM:       id: 'X4iuuRAAACAA9iFa',
11:48:24 PM:       uid: 'virtual-game-show',
11:48:24 PM:       type: 'event',
11:48:24 PM:       href: 'https://ncbrk.cdn.prismic.io/api/v2/documents/search?ref=X7TSWhIAACMAg5j6&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22X4iuuRAAACAA9iFa%22%29+%5D%5D',
11:48:24 PM:       tags: [Array],
11:48:24 PM:       first_publication_date: '2020-10-15T20:20:19+0000',
11:48:24 PM:       last_publication_date: '2020-11-18T07:50:50+0000',
11:48:24 PM:       slugs: [Array],
11:48:24 PM:       linked_documents: [],
11:48:24 PM:       lang: 'en-us',
11:48:24 PM:       alternate_languages: [],
11:48:24 PM:       data: [Object]
11:48:24 PM:     },
11:48:24 PM:     {
11:48:24 PM:       id: 'X3yNCBEAACcA9HB5',
11:48:24 PM:       uid: 'remote-habits-and-nutrition',
11:48:24 PM:       type: 'event',
11:48:24 PM:       href: 'https://ncbrk.cdn.prismic.io/api/v2/documents/search?ref=X7TSWhIAACMAg5j6&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22X3yNCBEAACcA9HB5%22%29+%5D%5D',
11:48:24 PM:       tags: [Array],
11:48:24 PM:       first_publication_date: '2020-10-06T15:46:58+0000',
11:48:24 PM:       last_publication_date: '2020-10-22T15:46:15+0000',
11:48:24 PM:       slugs: [Array],
11:48:24 PM:       linked_documents: [],
11:48:24 PM:       lang: 'en-us',
11:48:24 PM:       alternate_languages: [],
11:48:24 PM:       data: [Object]
11:48:24 PM:     },
11:48:24 PM:     {
11:48:24 PM:       id: 'X2O0LhEAACAAiy3h',
11:48:24 PM:       uid: 'unsure-which-event-is-best-for-your-team--let-us-help',
11:48:24 PM:       type: 'event',
11:48:24 PM:       href: 'https://ncbrk.cdn.prismic.io/api/v2/documents/search?ref=X7TSWhIAACMAg5j6&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22X2O0LhEAACAAiy3h%22%29+%5D%5D',
11:48:24 PM:       tags: [Array],
11:48:24 PM:       first_publication_date: '2020-09-17T19:08:59+0000',
11:48:24 PM:       last_publication_date: '2020-09-22T14:41:53+0000',
11:48:24 PM:       slugs: [Array],
11:48:24 PM:       linked_documents: [],
11:48:24 PM:       lang: 'en-us',
11:48:24 PM:       alternate_languages: [],
11:48:24 PM:       data: [Object]
11:48:24 PM:     },
11:48:24 PM:     {
11:48:24 PM:       id: 'X2EP_xEAACMAf0II',
11:48:24 PM:       uid: 'restorative-yoga-with-kiko-sounds',
11:48:24 PM:       type: 'event',
11:48:24 PM:       href: 'https://ncbrk.cdn.prismic.io/api/v2/documents/search?ref=X7TSWhIAACMAg5j6&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22X2EP_xEAACMAf0II%22%29+%5D%5D',
11:48:24 PM:       tags: [Array],
11:48:24 PM:       first_publication_date: '2020-09-16T19:40:34+0000',
11:48:24 PM:       last_publication_date: '2020-10-22T15:34:55+0000',
11:48:24 PM:       slugs: [Array],
11:48:24 PM:       linked_documents: [],
11:48:24 PM:       lang: 'en-us',
11:48:24 PM:       alternate_languages: [],
11:48:24 PM:       data: [Object]
11:48:24 PM:     },
11:48:24 PM:     {
11:48:24 PM:       id: 'X2EQiBEAACMAf0R-',
11:48:24 PM:       uid: 'self-care-sound-bath-with-kiko-sounds',
11:48:24 PM:       type: 'event',
11:48:24 PM:       href: 'https://ncbrk.cdn.prismic.io/api/v2/documents/search?ref=X7TSWhIAACMAg5j6&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22X2EQiBEAACMAf0R-%22%29+%5D%5D',
11:48:24 PM:       tags: [Array],
11:48:24 PM:       first_publication_date: '2020-09-16T19:29:09+0000',
11:48:24 PM:       last_publication_date: '2020-11-18T06:38:54+0000',
11:48:24 PM:       slugs: [Array],
11:48:24 PM:       linked_documents: [],
11:48:24 PM:       lang: 'en-us',
11:48:24 PM:       alternate_languages: [],
11:48:24 PM:       data: [Object]
11:48:24 PM:     },
11:48:24 PM:     {
11:48:24 PM:       id: 'X2EL7xEAACMAfy-z',
11:48:24 PM:       uid: 'song-writing-with-wenzl-mcgowen',
11:48:24 PM:       type: 'event',
11:48:24 PM:       href: 'https://ncbrk.cdn.prismic.io/api/v2/documents/search?ref=X7TSWhIAACMAg5j6&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22X2EL7xEAACMAfy-z%22%29+%5D%5D',
11:48:24 PM:       tags: [Array],
11:48:24 PM:       first_publication_date: '2020-09-16T17:43:52+0000',
11:48:24 PM:       last_publication_date: '2020-10-22T15:28:40+0000',
11:48:24 PM:       slugs: [Array],
11:48:24 PM:       linked_documents: [],
11:48:24 PM:       lang: 'en-us',
11:48:24 PM:       alternate_languages: [],
11:48:24 PM:       data: [Object]
11:48:24 PM:     },
11:48:24 PM:     {
11:48:24 PM:       id: 'X2EG8REAACEAfxkZ',
11:48:24 PM:       uid: 'health-story-telling',
11:48:24 PM:       type: 'event',
11:48:24 PM:       href: 'https://ncbrk.cdn.prismic.io/api/v2/documents/search?ref=X7TSWhIAACMAg5j6&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22X2EG8REAACEAfxkZ%22%29+%5D%5D',
11:48:24 PM:       tags: [Array],
11:48:24 PM:       first_publication_date: '2020-09-16T17:12:10+0000',
11:48:24 PM:       last_publication_date: '2020-10-22T15:29:24+0000',
11:48:24 PM:       slugs: [Array],
11:48:24 PM:       linked_documents: [],
11:48:24 PM:       lang: 'en-us',
11:48:24 PM:       alternate_languages: [],
11:48:24 PM:       data: [Object]
11:48:24 PM:     },
11:48:24 PM:     {
11:48:24 PM:       id: 'X2EJcBEAACIAfyR0',
11:48:24 PM:       uid: 'amazing-animal-trivia',
11:48:24 PM:       type: 'event',
11:48:24 PM:       href: 'https://ncbrk.cdn.prismic.io/api/v2/documents/search?ref=X7TSWhIAACMAg5j6&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22X2EJcBEAACIAfyR0%22%29+%5D%5D',
11:48:24 PM:       tags: [Array],
11:48:24 PM:       first_publication_date: '2020-09-16T17:06:36+0000',
11:48:24 PM:       last_publication_date: '2020-10-22T15:33:05+0000',
11:48:24 PM:       slugs: [Array],
11:48:24 PM:       linked_documents: [],
11:48:24 PM:       lang: 'en-us',
11:48:24 PM:       alternate_languages: [],
11:48:24 PM:       data: [Object]
11:48:24 PM:     },
11:48:24 PM:     {
11:48:24 PM:       id: 'X2EApREAACIAfvxY',
11:48:24 PM:       uid: 'improv-and-comedy-writing',
11:48:24 PM:       type: 'event',
11:48:24 PM:       href: 'https://ncbrk.cdn.prismic.io/api/v2/documents/search?ref=X7TSWhIAACMAg5j6&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22X2EApREAACIAfvxY%22%29+%5D%5D',
11:48:24 PM:       tags: [Array],
11:48:24 PM:       first_publication_date: '2020-09-15T20:07:46+0000',
11:48:24 PM:       last_publication_date: '2020-10-22T15:35:35+0000',
11:48:24 PM:       slugs: [Array],
11:48:24 PM:       linked_documents: [],
11:48:24 PM:       lang: 'en-us',
11:48:24 PM:       alternate_languages: [],
11:48:24 PM:       data: [Object]
11:48:24 PM:     },
11:48:24 PM:     {
11:48:24 PM:       id: 'X2ELFxEAACAAfyvU',
11:48:24 PM:       uid: 'breathing-and-flow-with-wenzl-mcgowen',
11:48:24 PM:       type: 'event',
11:48:24 PM:       href: 'https://ncbrk.cdn.prismic.io/api/v2/documents/search?ref=X7TSWhIAACMAg5j6&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22X2ELFxEAACAAfyvU%22%29+%5D%5D',
11:48:24 PM:       tags: [Array],
11:48:24 PM:       first_publication_date: '2020-09-15T20:01:22+0000',
11:48:24 PM:       last_publication_date: '2020-10-22T15:28:08+0000',
11:48:24 PM:       slugs: [Array],
11:48:24 PM:       linked_documents: [],
11:48:24 PM:       lang: 'en-us',
11:48:24 PM:       alternate_languages: [],
11:48:24 PM:       data: [Object]
11:48:24 PM:     },
11:48:24 PM:     {
11:48:24 PM:       id: 'X2EIfxEAACAAfyAp',
11:48:24 PM:       uid: 'virtual-petting-zoom',
11:48:24 PM:       type: 'event',
11:48:24 PM:       href: 'https://ncbrk.cdn.prismic.io/api/v2/documents/search?ref=X7TSWhIAACMAg5j6&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22X2EIfxEAACAAfyAp%22%29+%5D%5D',
11:48:24 PM:       tags: [Array],
11:48:24 PM:       first_publication_date: '2020-09-15T19:52:43+0000',
11:48:24 PM:       last_publication_date: '2020-11-18T07:50:27+0000',
11:48:24 PM:       slugs: [Array],
11:48:24 PM:       linked_documents: [],
11:48:24 PM:       lang: 'en-us',
11:48:24 PM:       alternate_languages: [],
11:48:24 PM:       data: [Object]
11:48:24 PM:     },
11:48:24 PM:     {
11:48:24 PM:       id: 'X2EB0hEAACAAfwGs',
11:48:24 PM:       uid: 'virtual-cocktails',
11:48:24 PM:       type: 'event',
11:48:24 PM:       href: 'https://ncbrk.cdn.prismic.io/api/v2/documents/search?ref=X7TSWhIAACMAg5j6&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22X2EB0hEAACAAfwGs%22%29+%5D%5D',
11:48:24 PM:       tags: [Array],
11:48:24 PM:       first_publication_date: '2020-09-15T19:50:44+0000',
11:48:24 PM:       last_publication_date: '2020-11-18T06:38:10+0000',
11:48:24 PM:       slugs: [Array],
11:48:24 PM:       linked_documents: [],
11:48:24 PM:       lang: 'en-us',
11:48:24 PM:       alternate_languages: [],
11:48:24 PM:       data: [Object]
11:48:24 PM:     },
11:48:24 PM:     {
11:48:24 PM:       id: 'X2EPdBEAACMAfz-Q',
11:48:24 PM:       uid: 'drawing-sounds-with-kiko-sounds',
11:48:24 PM:       type: 'event',
11:48:24 PM:       href: 'https://ncbrk.cdn.prismic.io/api/v2/documents/search?ref=X7TSWhIAACMAg5j6&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22X2EPdBEAACMAfz-Q%22%29+%5D%5D',
11:48:24 PM:       tags: [Array],
11:48:24 PM:       first_publication_date: '2020-09-15T19:48:14+0000',
11:48:24 PM:       last_publication_date: '2020-10-22T15:37:54+0000',
11:48:24 PM:       slugs: [Array],
11:48:24 PM:       linked_documents: [],
11:48:24 PM:       lang: 'en-us',
11:48:24 PM:       alternate_languages: [],
11:48:24 PM:       data: [Object]
11:48:24 PM:     }
11:48:24 PM:   ],
11:48:24 PM:   version: '17d23bd',
11:48:24 PM:   license: 'All Rights Reserved'
11:48:24 PM: }
11:48:25 PM: info  - Generating static pages (15/63)
11:48:25 PM: info  - Generating static pages (31/63)
11:48:26 PM: info  - Generating static pages (47/63)
11:48:28 PM: info  - Generating static pages (63/63)
11:48:28 PM: info  - Finalizing page optimization...
11:48:28 PM: Page                                                           Size     First Load JS
11:48:28 PM: β”Œ ● /                                                          87.6 kB         251 kB
11:48:28 PM: β”œ   β”” css/7cd252d0f0c72a80b379.css                             8.59 kB
11:48:28 PM: β”œ   /_app                                                      0 B            62.7 kB
11:48:28 PM: β”œ β—‹ /404                                                       1.59 kB        67.6 kB
11:48:28 PM: β”œ   β”” css/b52f5ec47efa56cf950c.css                             486 B
11:48:28 PM: β”œ ● /about                                                     638 B          86.2 kB
11:48:28 PM: β”œ   β”” css/079c2c2868e2282bdc40.css                             1.33 kB
11:48:28 PM: β”œ ● /default-next                                              3.46 kB        66.1 kB
11:48:28 PM: β”œ ● /event/[uid]                                               9.47 kB         265 kB
11:48:28 PM: β”œ   β”” css/ccf3dd0f1e775241c3df.css                             4.21 kB
11:48:28 PM: β”œ   β”œ /event/virtual-cocktails
11:48:28 PM: β”œ   β”œ /event/self-care-sound-bath-with-kiko-sounds
11:48:28 PM: β”œ   β”œ /event/virtual-game-show
11:48:28 PM: β”œ   β”” [+13 more paths]
11:48:28 PM: β”œ ● /events                                                    590 B           137 kB
11:48:28 PM: β”œ ● /events-with-featured                                      631 B           137 kB
11:48:28 PM: β”œ ● /faq                                                       6.57 kB        92.1 kB
11:48:28 PM: β”œ   β”” css/1d11ab63a29a4c5b30ed.css                             1.3 kB
11:48:28 PM: β”œ ● /feedback                                                  3.01 kB         114 kB
11:48:28 PM: β”œ   β”” css/68f60ea3681e64d65ea0.css                             3.47 kB
11:48:28 PM: β”œ ● /feedback/[uid]                                            3.09 kB         114 kB
11:48:28 PM: β”œ   β”” css/aa42b89338ecbd9de97e.css                             3.46 kB
11:48:28 PM: β”œ   β”œ /feedback/virtual-cocktails
11:48:28 PM: β”œ   β”œ /feedback/self-care-sound-bath-with-kiko-sounds
11:48:28 PM: β”œ   β”œ /feedback/virtual-game-show
11:48:28 PM: β”œ   β”” [+13 more paths]
11:48:28 PM: β”œ ● /get-quote                                                 673 B           178 kB
11:48:28 PM: β”œ   β”” css/1939b771189e9d3d174f.css                             2.43 kB
11:48:28 PM: β”œ ● /homepage                                                  794 B          84.9 kB
11:48:28 PM: β”œ ● /host                                                      3.52 kB        96.3 kB
11:48:28 PM: β”œ   β”” css/7c90ab62e762e27d251b.css                             2.59 kB
11:48:28 PM: β”œ ● /host/apply                                                2.18 kB         113 kB
11:48:28 PM: β”œ   β”” css/da6b821803fd67007099.css                             2.35 kB
11:48:28 PM: β”œ ● /login                                                     1.72 kB        87.3 kB
11:48:28 PM: β”œ ● /payment-success                                           1.74 kB        87.3 kB
11:48:28 PM: β”œ   β”” css/56c5a8e8c9988eba25cb.css                             2.12 kB
11:48:28 PM: β”œ ● /payment/[uid]                                             1.53 kB        87.1 kB
11:48:28 PM: β”œ   β”” css/f02c5fd0416380e41d42.css                             1.79 kB
11:48:28 PM: β”œ   β”œ /payment/virtual-cocktails
11:48:28 PM: β”œ   β”œ /payment/self-care-sound-bath-with-kiko-sounds
11:48:28 PM: β”œ   β”œ /payment/virtual-game-show
11:48:28 PM: β”œ   β”” [+13 more paths]
11:48:28 PM: β”” ● /signup                                                    1.72 kB        87.3 kB
11:48:28 PM: + First Load JS shared by all                                  62.7 kB
11:48:28 PM:   β”œ chunks/f39b90a474f61bf0d60e2b66a1ec3981b6634b78.78ad15.js  12.7 kB
11:48:28 PM:   β”œ chunks/framework.a3ab6d.js                                 42.1 kB
11:48:28 PM:   β”œ chunks/main.927625.js                                      6.52 kB
11:48:28 PM:   β”œ chunks/pages/_app.fb4e42.js                                609 B
11:48:28 PM:   β”œ chunks/webpack.e06743.js                                   751 B
11:48:28 PM:   β”” css/d84f57f10a31c813d0b8.css                               8.15 kB
11:48:28 PM: Ξ»  (Server)  server-side renders at runtime (uses getInitialProps or getServerSideProps)
11:48:28 PM: β—‹  (Static)  automatically rendered as static HTML (uses no initial props)
11:48:28 PM: ●  (SSG)     automatically generated as static HTML + JSON (uses getStaticProps)
11:48:28 PM:    (ISR)     incremental static regeneration (uses revalidate in getStaticProps)
11:48:29 PM: > ncbrk@0.1.0 export /opt/build/repo
11:48:29 PM: > next export
11:48:29 PM: Loaded env from /opt/build/repo/.env
11:48:29 PM: info  - using build directory: /opt/build/repo/.next
11:48:29 PM: info  - Copying "static build" directory
11:48:29 PM: info  - No "exportPathMap" found in "next.config.js". Generating map from "./pages"
11:48:29 PM: Error: Image Optimization using Next.js' default loader is not compatible with `next export`.Possible solutions:
11:48:29 PM:   - Use `next start`, which starts the Image Optimization API.
11:48:29 PM:   - Use Vercel to deploy, which supports Image Optimization.
11:48:29 PM:   - Configure a third-party loader in `next.config.js`.
11:48:29 PM: Read more: https://err.sh/next.js/export-image-api
11:48:29 PM:     at exportApp (/opt/build/repo/node_modules/next/dist/export/index.js:14:712)
11:48:30 PM: npm ERR! code ELIFECYCLE
11:48:30 PM: npm ERR! errno 1
11:48:30 PM: npm ERR! ncbrk@0.1.0 export: `next export`
11:48:30 PM: npm ERR! Exit status 1
11:48:30 PM: npm ERR!
11:48:30 PM: npm ERR! Failed at the ncbrk@0.1.0 export script.
11:48:30 PM: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
11:48:30 PM: npm ERR! A complete log of this run can be found in:
11:48:30 PM: npm ERR!     /opt/buildhome/.npm/_logs/2020-11-18T16_48_30_002Z-debug.log
11:48:30 PM: ​
11:48:30 PM: β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
11:48:30 PM: β”‚   "build.command" failed    β”‚
11:48:30 PM: β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
11:48:30 PM: ​
11:48:30 PM:   Error message
11:48:30 PM:   Command failed with exit code 1: npm run build && npm run export
11:48:30 PM: ​
11:48:30 PM:   Error location
11:48:30 PM:   In build.command from netlify.toml:
11:48:30 PM:   npm run build && npm run export
11:48:30 PM: ​
11:48:30 PM:   Resolved config
11:48:30 PM:   build:
11:48:30 PM:     command: npm run build && npm run export
11:48:30 PM:     commandOrigin: config
11:48:30 PM:     environment:
11:48:30 PM:       - REVIEW_ID
11:48:30 PM:     publish: /opt/build/repo/out
11:48:30 PM: Caching artifacts
11:48:30 PM: Started saving node modules
11:48:30 PM: Finished saving node modules
11:48:30 PM: Started saving build plugins
11:48:30 PM: Finished saving build plugins
11:48:30 PM: Started saving yarn cache
11:48:30 PM: Finished saving yarn cache
11:48:30 PM: Started saving pip cache
11:48:30 PM: Finished saving pip cache
11:48:30 PM: Started saving emacs cask dependencies
11:48:30 PM: Finished saving emacs cask dependencies
11:48:30 PM: Started saving maven dependencies
11:48:30 PM: Finished saving maven dependencies
11:48:30 PM: Started saving boot dependencies
11:48:30 PM: Finished saving boot dependencies
11:48:30 PM: Started saving go dependencies
11:48:30 PM: Finished saving go dependencies
11:48:33 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
11:48:33 PM: Failing build: Failed to build site
11:48:33 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2
11:48:33 PM: Finished processing build request in 2m22.280876047s

It’s solved! I added Next Image loader on next.config.js Basic Features: Image Optimization | Next.js. It’s weird because I didn’t use Next Image but I need to add Next Image config in it.