Deploy details
Your deploy failed due to an errorDeploy failed for next-wordpress-starter
Deploy failed due to an error in @netlify/plugin-nextjs plugin.
Deploy summary
Plugin "@netlify/plugin-nextjs" internal error
Deploy log
Initializing
Complete
Initializing
Complete
11:41:10 PM: Build ready to start
11:41:27 PM: build-image version: afbdb56f962d8349a4f7a51026e76da5fe57aa8e (focal)
11:41:27 PM: buildbot version: afbdb56f962d8349a4f7a51026e76da5fe57aa8e
11:41:27 PM: Fetching cached dependencies
11:41:27 PM: Failed to fetch cache, continuing with build
11:41:27 PM: Starting to prepare the repo for build
11:41:27 PM: No cached dependencies found. Cloning fresh repo
11:41:27 PM: git clone --filter=blob:none https://github.com/colbyfayock/next-wordpress-starter
11:41:28 PM: Preparing Git Reference pull/644/head
11:41:29 PM: Starting to install dependencies
11:41:30 PM: mise python@3.8.20 installing
11:41:30 PM: mise python@3.8.20 downloading cpython-3.8.20+20241002-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz
11:41:30 PM: mise python@3.8.20 installing cpython-3.8.20+20241002-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz
11:41:31 PM: mise python@3.8.20 python --version
11:41:31 PM: mise python@3.8.20 Python 3.8.20
11:41:31 PM: mise python@3.8.20 ✓ installed
11:41:31 PM: Python version set to 3.8
11:41:32 PM: Collecting pipenv
11:41:32 PM: Downloading pipenv-2024.4.0-py3-none-any.whl.metadata (19 kB)
11:41:32 PM: Collecting certifi (from pipenv)
11:41:32 PM: Downloading certifi-2024.8.30-py3-none-any.whl.metadata (2.2 kB)
11:41:32 PM: Collecting packaging>=22 (from pipenv)
11:41:32 PM: Downloading packaging-24.2-py3-none-any.whl.metadata (3.2 kB)
11:41:32 PM: Requirement already satisfied: setuptools>=67 in /opt/buildhome/.local/share/mise/installs/python/3.8.20/lib/python3.8/site-packages (from pipenv) (70.3.0)
11:41:32 PM: Collecting virtualenv>=20.24.2 (from pipenv)
11:41:32 PM: Downloading virtualenv-20.28.0-py3-none-any.whl.metadata (4.4 kB)
11:41:32 PM: Collecting distlib<1,>=0.3.7 (from virtualenv>=20.24.2->pipenv)
11:41:32 PM: Downloading distlib-0.3.9-py2.py3-none-any.whl.metadata (5.2 kB)
11:41:32 PM: Collecting filelock<4,>=3.12.2 (from virtualenv>=20.24.2->pipenv)
11:41:32 PM: Downloading filelock-3.16.1-py3-none-any.whl.metadata (2.9 kB)
11:41:32 PM: Collecting platformdirs<5,>=3.9.1 (from virtualenv>=20.24.2->pipenv)
11:41:32 PM: Downloading platformdirs-4.3.6-py3-none-any.whl.metadata (11 kB)
11:41:32 PM: Downloading pipenv-2024.4.0-py3-none-any.whl (3.0 MB)
11:41:32 PM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 33.7 MB/s eta 0:00:00
11:41:32 PM: Downloading packaging-24.2-py3-none-any.whl (65 kB)
11:41:32 PM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.5/65.5 kB 5.5 MB/s eta 0:00:00
11:41:32 PM: Downloading virtualenv-20.28.0-py3-none-any.whl (4.3 MB)
11:41:32 PM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.3/4.3 MB 146.7 MB/s eta 0:00:00
11:41:32 PM: Downloading certifi-2024.8.30-py3-none-any.whl (167 kB)
11:41:32 PM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 167.3/167.3 kB 11.4 MB/s eta 0:00:00
11:41:32 PM: Downloading distlib-0.3.9-py2.py3-none-any.whl (468 kB)
11:41:32 PM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 469.0/469.0 kB 34.1 MB/s eta 0:00:00
11:41:32 PM: Downloading filelock-3.16.1-py3-none-any.whl (16 kB)
11:41:32 PM: Downloading platformdirs-4.3.6-py3-none-any.whl (18 kB)
11:41:33 PM: Installing collected packages: distlib, platformdirs, packaging, filelock, certifi, virtualenv, pipenv
11:41:34 PM: Successfully installed certifi-2024.8.30 distlib-0.3.9 filelock-3.16.1 packaging-24.2 pipenv-2024.4.0 platformdirs-4.3.6 virtualenv-20.28.0
11:41:34 PM: [notice] A new release of pip is available: 24.1.2 -> 24.3.1
11:41:34 PM: [notice] To update, run: pip install --upgrade pip
11:41:34 PM: Attempting Ruby version 2.7.1, read from environment
11:41:35 PM: Required ruby-2.7.1 is not installed - installing.
11:41:35 PM: Searching for binary rubies, this might take some time.
11:41:35 PM: Found remote file https://rvm_io.global.ssl.fastly.net/binaries/ubuntu/20.04/x86_64/ruby-2.7.1.tar.bz2
11:41:35 PM: Checking requirements for ubuntu.
11:41:35 PM: Requirements installation successful.
11:41:35 PM: ruby-2.7.1 - #configure
11:41:35 PM: ruby-2.7.1 - #download
11:41:36 PM: ruby-2.7.1 - #validate archive
11:41:39 PM: ruby-2.7.1 - #extract
11:41:40 PM: ruby-2.7.1 - #validate binary
11:41:40 PM: ruby-2.7.1 - #setup
11:41:41 PM: ruby-2.7.1 - #gemset created /opt/buildhome/.rvm/gems/ruby-2.7.1@global
11:41:41 PM: ruby-2.7.1 - #importing gemset /opt/buildhome/.rvm/gemsets/global.gems........................................
11:41:41 PM: ruby-2.7.1 - #generating global wrappers........
11:41:41 PM: ruby-2.7.1 - #gemset created /opt/buildhome/.rvm/gems/ruby-2.7.1
11:41:41 PM: ruby-2.7.1 - #importing gemsetfile /opt/buildhome/.rvm/gemsets/default.gems evaluated to empty gem list
11:41:42 PM: ruby-2.7.1 - #generating default wrappers........
11:41:42 PM: Using /opt/buildhome/.rvm/gems/ruby-2.7.1
11:41:42 PM: Using Ruby version 2.7.1
11:41:43 PM: Started restoring cached go cache
11:41:43 PM: Finished restoring cached go cache
11:41:43 PM: Installing Go version 1.14.4 (requested 1.14.4)
11:41:47 PM: go version go1.14.4 linux/amd64
11:41:48 PM: Using PHP version 8.0
11:41:49 PM: Attempting Node.js version '18' from .nvmrc
11:41:50 PM: v18.20.5 is already installed.
11:41:50 PM: Now using node v18.20.5 (npm v10.8.2)
11:41:50 PM: Enabling Node.js Corepack
11:41:50 PM: Started restoring cached build plugins
11:41:50 PM: Finished restoring cached build plugins
11:41:50 PM: Started restoring cached corepack dependencies
11:41:50 PM: Finished restoring cached corepack dependencies
11:41:51 PM: No pnpm workspaces detected
11:41:51 PM: Started restoring cached node modules
11:41:51 PM: Finished restoring cached node modules
11:41:51 PM: Installing npm packages using pnpm version 9.14.4
11:41:52 PM: WARN Ignoring not compatible lockfile at /opt/build/repo/pnpm-lock.yaml
11:41:52 PM: Progress: resolved 1, reused 0, downloaded 0, added 0
11:41:52 PM: WARN deprecated eslint@8.39.0: This version is no longer supported. Please see https://eslint.org/version-support for other options.
11:41:53 PM: Progress: resolved 64, reused 0, downloaded 52, added 0
11:41:54 PM: Progress: resolved 212, reused 0, downloaded 187, added 0
11:41:55 PM: Progress: resolved 377, reused 0, downloaded 328, added 0
11:41:55 PM: WARN 6 deprecated subdependencies found: @humanwhocodes/config-array@0.11.14, @humanwhocodes/object-schema@2.0.3, glob@7.1.7, glob@7.2.3, inflight@1.0.6, rimraf@3.0.2
11:41:55 PM: Packages: +380
11:41:55 PM: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
11:41:56 PM: Progress: resolved 399, reused 0, downloaded 380, added 380, done
11:41:56 PM: .../node_modules/@parcel/watcher install$ node scripts/build-from-source.js
11:41:56 PM: .../node_modules/@parcel/watcher install: Done
11:41:56 PM: > next-wordpress-starter@0.1.0 prepare /opt/build/repo
11:41:56 PM: > husky install
11:41:56 PM: husky - Git hooks installed
11:41:56 PM: dependencies:
11:41:56 PM: + @apollo/client 3.12.2
11:41:56 PM: + date-fns 2.30.0 (4.1.0 is available)
11:41:56 PM: + dotenv 16.4.7
11:41:56 PM: + fuse.js 6.6.2 (7.0.0 is available)
11:41:56 PM: + graphql 16.9.0
11:41:56 PM: + he 1.2.0
11:41:56 PM: + loader-utils 3.3.1
11:41:56 PM: + next 13.4.0 (15.0.4 is available)
11:41:56 PM: + nextjs-progressbar 0.0.16
11:41:56 PM: + parameterize 1.0.0
11:41:56 PM: + path 0.12.7
11:41:56 PM: + react 18.2.0 (19.0.0 is available)
11:41:56 PM: + react-dom 18.2.0 (19.0.0 is available)
11:41:56 PM: + react-helmet 6.1.0
11:41:56 PM: + react-icons 4.12.0 (5.4.0 is available)
11:41:56 PM: + rss 1.2.2
11:41:56 PM: + sass 1.82.0
11:41:56 PM: + style.css 1.0.3
11:41:56 PM: devDependencies:
11:41:56 PM: + eslint 8.39.0 (9.16.0 is available) deprecated
11:41:56 PM: + eslint-config-next 13.5.7 (15.0.4 is available)
11:41:56 PM: + eslint-config-prettier 8.10.0 (9.1.0 is available)
11:41:56 PM: + eslint-plugin-prettier 4.2.1 (5.2.1 is available)
11:41:56 PM: + eslint-plugin-react 7.37.2
11:41:56 PM: + husky 8.0.3 (9.1.7 is available)
11:41:56 PM: + lint-staged 13.3.0 (15.2.10 is available)
11:41:56 PM: + playwright 1.49.0
11:41:56 PM: + prettier 2.8.8 (3.4.2 is available)
11:41:56 PM: Done in 4.6s
11:41:56 PM: npm packages installed using pnpm
11:41:57 PM: Successfully installed dependencies
11:41:57 PM: Starting build script
11:41:58 PM: Detected 1 framework(s)
11:41:58 PM: "next" at version "13.4.0"
11:41:58 PM: Section completed: initializing
Building
Failed
Building
Failed
11:41:59 PM: Netlify Build
11:41:59 PM: ────────────────────────────────────────────────────────────────
11:41:59 PM:
11:41:59 PM: ❯ Version
11:41:59 PM: @netlify/build 29.56.1
11:41:59 PM:
11:41:59 PM: ❯ Flags
11:41:59 PM: accountId: 5a400961a1147757430fd3b0
11:41:59 PM: baseRelDir: true
11:41:59 PM: buildId: 67538b9674c5d90008b240f2
11:41:59 PM: deployId: 67538b9674c5d90008b240f4
11:41:59 PM:
11:41:59 PM: ❯ Current directory
11:41:59 PM: /opt/build/repo
11:41:59 PM:
11:41:59 PM: ❯ Config file
11:41:59 PM: /opt/build/repo/netlify.toml
11:41:59 PM:
11:41:59 PM: ❯ Context
11:41:59 PM: deploy-preview
11:42:17 PM:
11:42:17 PM: ❯ Using Next.js Runtime - v4.12.2
11:42:17 PM:
11:42:17 PM: ❯ Outdated plugins
11:42:17 PM: - @netlify/plugin-nextjs@4.12.2: latest version is 5.8.1
11:42:17 PM: To upgrade this plugin, please remove it from "netlify.toml" and install it from the Netlify plugins directory instead (https://app.netlify.com/plugins)
11:42:18 PM: No Next.js cache to restore.
11:42:18 PM:
11:42:18 PM: build.command from netlify.toml
11:42:18 PM: ────────────────────────────────────────────────────────────────
11:42:18 PM:
11:42:18 PM: $ yarn build
11:42:19 PM: yarn run v1.22.19
11:42:19 PM: $ next build
11:42:19 PM: warn - No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache
11:42:19 PM: info - Linting and checking validity of types...
11:42:21 PM: info - Creating an optimized production build...
11:42:30 PM: info - Compiled successfully
11:42:30 PM: info - Collecting page data...
11:42:30 PM: Successfully created: wp-search.json
11:42:30 PM: Successfully created: feed.xml
11:42:31 PM: Successfully created: sitemap.xml
11:42:32 PM: Warning: You have opted-out of Automatic Static Optimization due to `getInitialProps` in `pages/_app`. This does not opt-out pages with `getStaticProps`
11:42:32 PM: Read more: https://nextjs.org/docs/messages/opt-out-auto-static-optimization
11:42:43 PM: info - Generating static pages (0/17)
11:42:46 PM: info - Generating static pages (4/17)
11:42:47 PM: info - Generating static pages (8/17)
11:42:48 PM: info - Generating static pages (12/17)
11:42:50 PM: info - Generating static pages (17/17)
11:42:51 PM: info - Finalizing page optimization...
11:42:51 PM: Route (pages) Size First Load JS
11:42:51 PM: ┌ ● / (4264 ms) 2.93 kB 163 kB
11:42:51 PM: ├ └ css/cbd67ed643337d83.css 2.05 kB
11:42:51 PM: ├ /_app 0 B 148 kB
11:42:51 PM: ├ ● /[slugParent]/[[...slugChild]] (7293 ms) 2.26 kB 162 kB
11:42:51 PM: ├ └ css/a0c819f8076c8483.css 1.74 kB
11:42:51 PM: ├ ├ /docs/setting-up-wordpress/getting-started (4054 ms)
11:42:51 PM: ├ ├ /docs (738 ms)
11:42:51 PM: ├ ├ /about (688 ms)
11:42:51 PM: ├ ├ /docs/getting-started/getting-started-child (631 ms)
11:42:51 PM: ├ ├ /docs/getting-started (594 ms)
11:42:51 PM: ├ └ /docs/setting-up-wordpress (588 ms)
11:42:51 PM: ├ ● /404 (3421 ms) 578 B 160 kB
11:42:51 PM: ├ ● /500 (3398 ms) 630 B 160 kB
11:42:51 PM: ├ ● /authors/[slug] 717 B 164 kB
11:42:51 PM: ├ ● /categories (3273 ms) 1.58 kB 161 kB
11:42:51 PM: ├ └ css/22fc0ef3453ac7c2.css 1.53 kB
11:42:51 PM: ├ ● /categories/[slug] 649 B 164 kB
11:42:51 PM: ├ ● /posts (4189 ms) 371 B 163 kB
11:42:51 PM: ├ ● /posts/[slug] (7703 ms) 2.77 kB 162 kB
11:42:51 PM: ├ └ css/dfc03380a3a32ca9.css 1.89 kB
11:42:51 PM: ├ ├ /posts/how-to-automate-deployments-on-content-change-in-wordpress-with-wp-webhooks-and-netlify (4412 ms)
11:42:51 PM: ├ ├ /posts/how-to-improve-development-experience-with-eslint-extension (1124 ms)
11:42:51 PM: ├ ├ /posts/how-to-manage-seo-in-headless-wordpress-with-yoast-seo-and-wpgraphql (920 ms)
11:42:51 PM: ├ ├ /posts/how-to-add-custom-fields-in-headless-wordpress-with-acf-wpgraphql (636 ms)
11:42:51 PM: ├ └ /posts/exposing-the-wp-data-without-the-markup (611 ms)
11:42:51 PM: ├ ● /posts/page/[page] 399 B 163 kB
11:42:51 PM: └ ● /search (3525 ms) 530 B 163 kB
11:42:51 PM: + First Load JS shared by all 150 kB
11:42:51 PM: ├ chunks/framework-03a71bd6940e0ac2.js 45.2 kB
11:42:51 PM: ├ chunks/main-b55dbb354d4a5665.js 26.9 kB
11:42:51 PM: ├ chunks/pages/_app-5b1f59027310a9e5.js 75.1 kB
11:42:51 PM: ├ chunks/webpack-59c5c889f52620d6.js 823 B
11:42:51 PM: └ css/a2e32438162febfb.css 2.19 kB
11:42:51 PM: ● (SSG) automatically generated as static HTML + JSON (uses getStaticProps)
11:42:51 PM: Done in 32.37s.
11:42:51 PM:
11:42:51 PM: (build.command completed in 32.6s)
11:42:51 PM:
11:42:51 PM: Plugin "@netlify/plugin-nextjs" internal error
11:42:51 PM: ────────────────────────────────────────────────────────────────
11:42:51 PM:
11:42:51 PM: Error message
11:42:51 PM: Error: ENOENT: no such file or directory, scandir '/opt/build/repo/.next/serverless/pages'
11:42:51 PM:
11:42:51 PM: Plugin details
11:42:51 PM: Package: @netlify/plugin-nextjs
11:42:51 PM: Version: 4.12.2
11:42:51 PM: Repository: git+https://github.com/netlify/netlify-plugin-nextjs.git
11:42:51 PM: npm link: https://www.npmjs.com/package/@netlify/plugin-nextjs
11:42:51 PM: Report issues: https://github.com/netlify/netlify-plugin-nextjs/issues
11:42:51 PM:
11:42:51 PM: Error location
11:42:51 PM: In "onBuild" event in "@netlify/plugin-nextjs" from netlify.toml
11:42:51 PM:
11:42:51 PM: Error properties
11:42:51 PM: {
11:42:51 PM: errno: -2,
11:42:51 PM: code: 'ENOENT',
11:42:51 PM: syscall: 'scandir',
11:42:51 PM: path: '/opt/build/repo/.next/serverless/pages'
11:42:51 PM: }
11:42:51 PM:
11:42:51 PM: Resolved config
11:42:51 PM: build:
11:42:51 PM: command: yarn build
11:42:51 PM: commandOrigin: config
11:42:51 PM: environment:
11:42:51 PM: - REVIEW_ID
11:42:51 PM: - WORDPRESS_GRAPHQL_ENDPOINT
11:42:51 PM: - WORDPRESS_PLUGIN_SEO
11:42:51 PM: - NEXT_PRIVATE_TARGET
11:42:51 PM: publish: /opt/build/repo/.next
11:42:51 PM: publishOrigin: config
11:42:51 PM: plugins:
11:42:51 PM: - inputs: {}
11:42:51 PM: origin: config
11:42:51 PM: package: '@netlify/plugin-nextjs'
11:42:51 PM: Build failed due to an internal system error: Build script returned non-zero exit code: 4
11:42:52 PM: Failed during stage 'building site': Build script returned non-zero exit code: 4 (https://ntl.fyi/exit-code-4)
11:42:52 PM: Failing build: Failed to build site
11:42:52 PM: Finished processing build request in 1m25.113s
Deploying
Skipped
Deploying
Skipped
There is no log for this section
Cleanup
Skipped
Cleanup
Skipped
There is no log for this section
Post-processing
Skipped
Post-processing
Skipped
There is no log for this section