opennextjs / opennextjs-netlify

Open Next.js adapter for Netlify
https://opennext.js.org/netlify
665 stars 86 forks source link

[Bug]: Auth0/nextjs redirect to /api/auth/[...auth0] not redirecting properly in 4.27.3 #1705

Closed Waterpile closed 1 year ago

Waterpile commented 2 years ago

Summary

Build succeeds. But navigating to /api/auth/[auth0.js] to results in error: page can’t be found when trying to direct to /api/auth/login.

Everything works fine locally in development and running local build. Builds from previous version active on 10/17 works fine. Rebuilding the same code that was working yesterday in new runtime version results in this error.

Steps to reproduce

  1. Go to https://legendary-banoffee-9c620c.netlify.app/
  2. Click the account icon in the top right
  3. Observe bug.
  4. Proper redirect is available at https://portal.teamcovenant.com by following the same steps. (this build is on runtime v4.25.0)

A link to a reproduction repository

No response

Next Runtime version

4.27.3

More information about your build

What OS are you using?

Windows

Your netlify.toml file

`netlify.toml` ```toml # Paste content of your `netlify.toml` file here ```

Your public/_redirects file

`_redirects` ```toml # Paste content of your `_redirects` file here ```

Your next.config.js file

`next.config.js` ```toml /** @type {import('next').NextConfig} */ const nextConfig = { reactStrictMode: true, images: { dangerouslyAllowSVG: true, contentSecurityPolicy: "default-src 'self'; script-src 'none'; sandbox;", domains: ['cdn11.bigcommerce.com','teamcovenant.com','vefmgcndxcuvhourlruy.supabase.co'] } } module.exports = nextConfig ```

Builds logs (or link to your logs)

Build logs ``` 9:32:29 AM: Build ready to start 9:32:30 AM: build-image version: 8b79b5e0c585f1b3f892b8032389b4b4b188d887 (focal) 9:32:30 AM: build-image tag: v4.14.0 9:32:30 AM: buildbot version: 1e88a9b854b49555d21dc539e2b8bf5fb78a8f57 9:32:31 AM: Fetching cached dependencies 9:32:31 AM: Starting to download cache of 505.5MB 9:32:36 AM: Finished downloading cache in 5.124536732s 9:32:36 AM: Starting to extract cache 9:32:39 AM: Finished extracting cache in 2.837446443s 9:32:39 AM: Finished fetching cache in 8.070167934s 9:32:39 AM: Starting to prepare the repo for build 9:32:39 AM: Preparing Git Reference refs/heads/master 9:32:40 AM: Parsing package.json dependencies 9:32:41 AM: Starting build script 9:32:41 AM: Installing dependencies 9:32:41 AM: Python version set to 2.7 9:32:41 AM: Started restoring cached node version 9:32:42 AM: Finished restoring cached node version 9:32:42 AM: v16.18.0 is already installed. 9:32:42 AM: Now using node v16.18.0 (npm v8.19.2) 9:32:42 AM: Enabling node corepack 9:32:42 AM: Started restoring cached build plugins 9:32:42 AM: Finished restoring cached build plugins 9:32:43 AM: Attempting ruby version 2.7.2, read from environment 9:32:43 AM: Using ruby version 2.7.2 9:32:43 AM: Using PHP version 8.0 9:32:43 AM: Started restoring cached yarn cache 9:32:46 AM: Finished restoring cached yarn cache 9:32:47 AM: Installing yarn at version 1.22.10 9:32:47 AM: Preparing yarn@1.22.10 for immediate activation... 9:32:47 AM: No yarn workspaces detected 9:32:47 AM: Started restoring cached node modules 9:32:47 AM: Finished restoring cached node modules 9:32:47 AM: Installing NPM modules using Yarn version 1.22.10 9:32:48 AM: yarn install v1.22.10 9:32:48 AM: 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. 9:32:48 AM: [1/4] Resolving packages... 9:32:48 AM: success Already up-to-date. 9:32:48 AM: Done in 0.17s. 9:32:48 AM: NPM modules installed using Yarn 9:32:48 AM: Started restoring cached go cache 9:32:48 AM: Finished restoring cached go cache 9:32:48 AM: Installing Go version 1.17 (requested 1.17) 9:32:52 AM: unset GOOS; 9:32:52 AM: unset GOARCH; 9:32:52 AM: export GOROOT='/opt/buildhome/.gimme/versions/go1.17.linux.amd64'; 9:32:52 AM: export PATH="/opt/buildhome/.gimme/versions/go1.17.linux.amd64/bin:${PATH}"; 9:32:52 AM: go version >&2; 9:32:52 AM: export GIMME_ENV="/opt/buildhome/.gimme/env/go1.17.linux.amd64.env" 9:32:52 AM: go version go1.17 linux/amd64 9:32:52 AM: Installing missing commands 9:32:52 AM: Verify run directory 9:32:54 AM: ​ 9:32:54 AM: ──────────────────────────────────────────────────────────────── 9:32:54 AM: Netlify Build 9:32:54 AM: ──────────────────────────────────────────────────────────────── 9:32:54 AM: ​ 9:32:54 AM: ❯ Version 9:32:54 AM: @netlify/build 28.1.1 9:32:54 AM: ​ 9:32:54 AM: ❯ Flags 9:32:54 AM: baseRelDir: true 9:32:54 AM: buildId: 6353f0ede14dfc0009f9e01c 9:32:54 AM: deployId: 6353f0ede14dfc0009f9e01e 9:32:54 AM: ​ 9:32:54 AM: ❯ Current directory 9:32:54 AM: /opt/build/repo 9:32:54 AM: ​ 9:32:54 AM: ❯ Config file 9:32:54 AM: No config file was defined: using default values. 9:32:54 AM: ​ 9:32:54 AM: ❯ Context 9:32:54 AM: production 9:32:54 AM: ​ 9:32:54 AM: ❯ Using Next.js Runtime - v4.27.3 9:32:55 AM: ​ 9:32:55 AM: ──────────────────────────────────────────────────────────────── 9:32:55 AM: 1. @netlify/plugin-nextjs (onPreBuild event) 9:32:55 AM: ──────────────────────────────────────────────────────────────── 9:32:55 AM: ​ 9:32:55 AM: Next.js cache restored. 9:32:55 AM: Netlify configuration property "build.environment.NEXT_PRIVATE_TARGET" value changed. 9:32:55 AM: ​ 9:32:55 AM: (@netlify/plugin-nextjs onPreBuild completed in 180ms) 9:32:55 AM: ​ 9:32:55 AM: ──────────────────────────────────────────────────────────────── 9:32:55 AM: 2. Build command from Netlify app 9:32:55 AM: ──────────────────────────────────────────────────────────────── 9:32:55 AM: ​ 9:32:55 AM: $ yarn build 9:32:55 AM: yarn run v1.22.10 9:32:55 AM: $ next build 9:32:56 AM: info - Loaded env from /opt/build/repo/.env.production 9:32:56 AM: info - Checking validity of types... 9:32:59 AM: ./pages/account/active-subscriptions.js 9:32:59 AM: 73:6 Warning: React Hook useEffect has a missing dependency: 'firstRenderDone'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 9:32:59 AM: 97:6 Warning: React Hook useEffect has missing dependencies: 'newPayloadContext', 'newPayloadUpdateContext', and 'subscribedUpdateContext'. Either include them or remove the dependency array. react-hooks/exhaustive-deps 9:32:59 AM: 120:6 Warning: React Hook useEffect has a missing dependency: 'subscribedContext'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 9:32:59 AM: 155:6 Warning: React Hook useEffect has missing dependencies: 'router.query.message' and 'shippingMethodContext'. Either include them or remove the dependency array. react-hooks/exhaustive-deps 9:32:59 AM: ./pages/account/index.js 9:32:59 AM: 87:6 Warning: React Hook useEffect has missing dependencies: 'firstRenderComplete' and 'newPayloadContext'. Either include them or remove the dependency array. react-hooks/exhaustive-deps 9:32:59 AM: 108:6 Warning: React Hook useEffect has missing dependencies: 'local_pickup' and 'router.query.message'. Either include them or remove the dependency array. react-hooks/exhaustive-deps 9:32:59 AM: ./pages/confirm.js 9:32:59 AM: 154:6 Warning: React Hook useEffect has missing dependencies: 'accessTokenUpdateContext', 'authenticatedState', 'billingAddressUpdateContext', 'customerIdUpdateContext', 'newSkusPayloadContext', 'newSkusPayloadUpdateContext', 'paymentMethodUpdateContext', 'postalCodeUpdateContext', 'profileUpdateContext', 'shippingMethodUpdateContext', and 'subscribedUpdateContext'. Either include them or remove the dependency array. react-hooks/exhaustive-deps 9:32:59 AM: 201:6 Warning: React Hook useEffect has missing dependencies: 'billingInformation.length', 'checkSubsToRemove', 'newSkusPayloadContext', and 'shippingMethodContext.length'. Either include them or remove the dependency array. react-hooks/exhaustive-deps 9:32:59 AM: 223:6 Warning: React Hook useEffect has missing dependencies: 'router' and 'subscribedContext'. Either include them or remove the dependency array. react-hooks/exhaustive-deps 9:32:59 AM: 238:6 Warning: React Hook useEffect has missing dependencies: 'errors', 'router', and 'shippingMethodContext'. Either include them or remove the dependency array. react-hooks/exhaustive-deps 9:32:59 AM: ./pages/index-old.js 9:32:59 AM: 50:6 Warning: React Hook useEffect has missing dependencies: 'allSkus', 'handleSubscribedUpdateContext', 'newSkusUpdatePayloadContext', and 'subscribedUpdateContext'. Either include them or remove the dependency array. react-hooks/exhaustive-deps 9:32:59 AM: 59:6 Warning: React Hook useEffect has a missing dependency: 'subscribedContext.length'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 9:32:59 AM: 85:32 Warning: Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text 9:32:59 AM: 109:32 Warning: Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text 9:32:59 AM: ./pages/index.js 9:32:59 AM: 61:6 Warning: React Hook useEffect has missing dependencies: 'router' and 'standardLoginUrl'. Either include them or remove the dependency array. react-hooks/exhaustive-deps 9:32:59 AM: 76:6 Warning: React Hook useEffect has missing dependencies: 'accessTokenUpdateContext', 'billingAddressUpdateContext', 'billingData', 'customerIdUpdateContext', 'paymentMethodUpdateContext', and 'profileUpdateContext'. Either include them or remove the dependency array. react-hooks/exhaustive-deps 9:32:59 AM: 106:6 Warning: React Hook useEffect has missing dependencies: 'authenticatedState', 'handleSubscribedUpdateContext', 'newSkusPayloadContext', and 'newSkusUpdatePayloadContext'. Either include them or remove the dependency array. react-hooks/exhaustive-deps 9:32:59 AM: 125:6 Warning: React Hook useEffect has missing dependencies: 'handlePostalCodeUpdateContext', 'shippingMethodContext.length', and 'shippingMethodUpdateContext'. Either include them or remove the dependency array. react-hooks/exhaustive-deps 9:32:59 AM: 158:9 Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref @next/next/link-passhref 9:32:59 AM: ./pages/login.js 9:32:59 AM: 40:6 Warning: React Hook useEffect has a missing dependency: 'logout'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 9:32:59 AM: 74:6 Warning: React Hook useEffect has missing dependencies: 'firstRenderComplete' and 'newPayloadContext'. Either include them or remove the dependency array. react-hooks/exhaustive-deps 9:32:59 AM: ./pages/payment-method.js 9:32:59 AM: 24:6 Warning: React Hook useEffect has a missing dependency: 'shippingMethodContext.length'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 9:32:59 AM: 75:15 Warning: Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text 9:32:59 AM: ./pages/review.js 9:32:59 AM: 56:32 Warning: Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text 9:32:59 AM: ./pages/setup.js 9:32:59 AM: 176:6 Warning: React Hook useEffect has missing dependencies: 'accessTokenUpdateContext', 'billingAddressUpdateContext', 'customerIdUpdateContext', 'newPayloadContext', 'newPayloadUpdateContext', 'paymentMethodUpdateContext', 'profileUpdateContext', and 'subscribedUpdateContext'. Either include them or remove the dependency array. react-hooks/exhaustive-deps 9:32:59 AM: 183:6 Warning: React Hook useEffect has missing dependencies: 'router' and 'setupLoginUrl'. Either include them or remove the dependency array. react-hooks/exhaustive-deps 9:32:59 AM: 257:23 Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref @next/next/link-passhref 9:32:59 AM: ./pages/shipping-method.js 9:32:59 AM: 44:6 Warning: React Hook useEffect has missing dependencies: 'shippingMethodUpdateContext' and 'user'. Either include them or remove the dependency array. react-hooks/exhaustive-deps 9:32:59 AM: 53:6 Warning: React Hook useEffect has a missing dependency: 'postalCodeUpdateContext'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 9:32:59 AM: ./pages/subscriptions/[skutag].js 9:32:59 AM: 39:6 Warning: React Hook useEffect has a missing dependency: 'subscribedContext'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 9:32:59 AM: ./components/ConfirmCard.js 9:32:59 AM: 92:6 Warning: React Hook useEffect has a missing dependency: 'contentType'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 9:32:59 AM: ./components/ConfirmProductBar.js 9:32:59 AM: 82:8 Warning: React Hook useEffect has missing dependencies: 'firstRenderDone', 'getCarrierRate', 'newSkusPayloadUpdateContext', 'postalCodeContext', 'product.price', and 'product.sku'. Either include them or remove the dependency array. react-hooks/exhaustive-deps 9:32:59 AM: 90:21 Warning: Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text 9:32:59 AM: ./components/DesktopNav.js 9:32:59 AM: 42:10 Warning: React Hook useEffect has a missing dependency: 'router.events'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 9:32:59 AM: 91:25 Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref @next/next/link-passhref 9:32:59 AM: 91:40 Warning: Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text 9:32:59 AM: 109:53 Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref @next/next/link-passhref 9:32:59 AM: 262:41 Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref @next/next/link-passhref 9:32:59 AM: 263:41 Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref @next/next/link-passhref 9:32:59 AM: ./components/Header.js 9:32:59 AM: 55:6 Warning: React Hook useEffect has a missing dependency: 'router.events'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 9:32:59 AM: 118:11 Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref @next/next/link-passhref 9:32:59 AM: 118:26 Warning: Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text 9:32:59 AM: ./components/Layout.js 9:32:59 AM: 63:6 Warning: React Hook useEffect has missing dependencies: 'accessTokenUpdateContext', 'billingAddressUpdateContext', 'customerIdUpdateContext', 'paymentMethodUpdateContext', 'profileUpdateContext', 'shippingMethodUpdateContext', and 'subscribedUpdateContext'. Either include them or remove the dependency array. react-hooks/exhaustive-deps 9:32:59 AM: ./components/Login.js 9:32:59 AM: 154:8 Warning: React Hook useEffect has missing dependencies: 'accessTokenContext', 'accessTokenUpdateContext', 'clientId', 'customerIdUpdateContext', 'domain', 'profileUpdateContext', and 'router.events'. Either include them or remove the dependency array. react-hooks/exhaustive-deps 9:32:59 AM: ./components/ProceedBar.js 9:32:59 AM: 16:11 Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref @next/next/link-passhref 9:32:59 AM: ./components/ProceedButton.js 9:32:59 AM: 19:11 Warning: passHref is missing. See: https://nextjs.org/docs/messages/link-passhref @next/next/link-passhref 9:32:59 AM: ./components/ProductCard.js 9:32:59 AM: 114:6 Warning: React Hook useEffect has missing dependencies: 'firstRenderDone', 'getCarrierRate', 'noArrows', 'page', 'postalCodeContext', 'price', and 'sku'. Either include them or remove the dependency array. react-hooks/exhaustive-deps 9:32:59 AM: 129:6 Warning: React Hook useEffect has missing dependencies: 'getCarrierRate', 'newSkusPayloadContext', and 'sku'. Either include them or remove the dependency array. react-hooks/exhaustive-deps 9:32:59 AM: 334:15 Warning: Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text 9:32:59 AM: 346:15 Warning: Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text 9:32:59 AM: ./components/ShippingDropdown.js 9:32:59 AM: 56:6 Warning: React Hook useEffect has missing dependencies: 'authenticated', 'content', 'localPickup', and 'postalCodeUpdateContext'. Either include them or remove the dependency array. react-hooks/exhaustive-deps 9:32:59 AM: 79:6 Warning: React Hook useEffect has missing dependencies: 'authenticated', 'content', 'page', 'postalCodeUpdateContext', 'shippingMethodContext', and 'shippingMethodUpdateContext'. Either include them or remove the dependency array. react-hooks/exhaustive-deps 9:32:59 AM: 85:6 Warning: React Hook useEffect has a missing dependency: 'shippingMethodUpdateContext'. Either include it or remove the dependency array. react-hooks/exhaustive-deps 9:32:59 AM: info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules 9:32:59 AM: info - Creating an optimized production build... 9:33:05 AM: info - Compiled successfully 9:33:05 AM: info - Collecting page data... 9:33:06 AM: (node:1686) [DEP0128] DeprecationWarning: Invalid 'main' field in '/opt/build/repo/node_modules/react-icons/package.json' of 'lib'. Please either fix that or report it to the module author 9:33:06 AM: (Use `node --trace-deprecation ...` to show where the warning was created) 9:33:06 AM: (node:1693) [DEP0128] DeprecationWarning: Invalid 'main' field in '/opt/build/repo/node_modules/react-icons/package.json' of 'lib'. Please either fix that or report it to the module author 9:33:06 AM: (Use `node --trace-deprecation ...` to show where the warning was created) 9:33:07 AM: Using browser-only version of superagent in non-browser environment 9:33:07 AM: (node:1658) [DEP0128] DeprecationWarning: Invalid 'main' field in '/opt/build/repo/node_modules/react-icons/package.json' of 'lib'. Please either fix that or report it to the module author 9:33:07 AM: (Use `node --trace-deprecation ...` to show where the warning was created) 9:33:07 AM: (node:1707) [DEP0128] DeprecationWarning: Invalid 'main' field in '/opt/build/repo/node_modules/react-icons/package.json' of 'lib'. Please either fix that or report it to the module author 9:33:07 AM: (Use `node --trace-deprecation ...` to show where the warning was created) 9:33:07 AM: (node:1671) [DEP0128] DeprecationWarning: Invalid 'main' field in '/opt/build/repo/node_modules/react-icons/package.json' of 'lib'. Please either fix that or report it to the module author 9:33:07 AM: (Use `node --trace-deprecation ...` to show where the warning was created) 9:33:07 AM: (node:1700) [DEP0128] DeprecationWarning: Invalid 'main' field in '/opt/build/repo/node_modules/react-icons/package.json' of 'lib'. Please either fix that or report it to the module author 9:33:07 AM: (Use `node --trace-deprecation ...` to show where the warning was created) 9:33:07 AM: (node:1679) [DEP0128] DeprecationWarning: Invalid 'main' field in '/opt/build/repo/node_modules/react-icons/package.json' of 'lib'. Please either fix that or report it to the module author 9:33:07 AM: (Use `node --trace-deprecation ...` to show where the warning was created) 9:33:07 AM: (node:1664) [DEP0128] DeprecationWarning: Invalid 'main' field in '/opt/build/repo/node_modules/react-icons/package.json' of 'lib'. Please either fix that or report it to the module author 9:33:07 AM: (Use `node --trace-deprecation ...` to show where the warning was created) 9:33:07 AM: (node:1714) [DEP0128] DeprecationWarning: Invalid 'main' field in '/opt/build/repo/node_modules/react-icons/package.json' of 'lib'. Please either fix that or report it to the module author 9:33:07 AM: (Use `node --trace-deprecation ...` to show where the warning was created) 9:33:07 AM: (node:1735) [DEP0128] DeprecationWarning: Invalid 'main' field in '/opt/build/repo/node_modules/react-icons/package.json' of 'lib'. Please either fix that or report it to the module author 9:33:07 AM: (Use `node --trace-deprecation ...` to show where the warning was created) 9:33:07 AM: (node:1721) [DEP0128] DeprecationWarning: Invalid 'main' field in '/opt/build/repo/node_modules/react-icons/package.json' of 'lib'. Please either fix that or report it to the module author 9:33:07 AM: (Use `node --trace-deprecation ...` to show where the warning was created) 9:33:07 AM: (node:1728) [DEP0128] DeprecationWarning: Invalid 'main' field in '/opt/build/repo/node_modules/react-icons/package.json' of 'lib'. Please either fix that or report it to the module author 9:33:07 AM: (Use `node --trace-deprecation ...` to show where the warning was created) 9:33:07 AM: Using browser-only version of superagent in non-browser environment 9:33:07 AM: (node:1742) [DEP0128] DeprecationWarning: Invalid 'main' field in '/opt/build/repo/node_modules/react-icons/package.json' of 'lib'. Please either fix that or report it to the module author 9:33:07 AM: (Use `node --trace-deprecation ...` to show where the warning was created) 9:33:07 AM: info - Generating static pages (0/16) 9:33:07 AM: false 9:33:07 AM: [] 9:33:08 AM: false 9:33:08 AM: [] 9:33:08 AM: false 9:33:08 AM: [] 9:33:08 AM: (node:1826) [DEP0128] DeprecationWarning: Invalid 'main' field in '/opt/build/repo/node_modules/react-icons/package.json' of 'lib'. Please either fix that or report it to the module author 9:33:08 AM: (Use `node --trace-deprecation ...` to show where the warning was created) 9:33:08 AM: (node:1756) [DEP0128] DeprecationWarning: Invalid 'main' field in '/opt/build/repo/node_modules/react-icons/package.json' of 'lib'. Please either fix that or report it to the module author 9:33:08 AM: (Use `node --trace-deprecation ...` to show where the warning was created) 9:33:08 AM: (node:1777) [DEP0128] DeprecationWarning: Invalid 'main' field in '/opt/build/repo/node_modules/react-icons/package.json' of 'lib'. Please either fix that or report it to the module author 9:33:08 AM: (Use `node --trace-deprecation ...` to show where the warning was created) 9:33:08 AM: (node:1784) [DEP0128] DeprecationWarning: Invalid 'main' field in '/opt/build/repo/node_modules/react-icons/package.json' of 'lib'. Please either fix that or report it to the module author 9:33:08 AM: (Use `node --trace-deprecation ...` to show where the warning was created) 9:33:08 AM: (node:1763) [DEP0128] DeprecationWarning: Invalid 'main' field in '/opt/build/repo/node_modules/react-icons/package.json' of 'lib'. Please either fix that or report it to the module author 9:33:08 AM: (Use `node --trace-deprecation ...` to show where the warning was created) 9:33:08 AM: (node:1798) [DEP0128] DeprecationWarning: Invalid 'main' field in '/opt/build/repo/node_modules/react-icons/package.json' of 'lib'. Please either fix that or report it to the module author 9:33:08 AM: (Use `node --trace-deprecation ...` to show where the warning was created) 9:33:08 AM: false 9:33:08 AM: [] 9:33:08 AM: undefined 9:33:08 AM: {} 9:33:08 AM: undefined 9:33:08 AM: (node:1770) [DEP0128] DeprecationWarning: Invalid 'main' field in '/opt/build/repo/node_modules/react-icons/package.json' of 'lib'. Please either fix that or report it to the module author 9:33:08 AM: (Use `node --trace-deprecation ...` to show where the warning was created) 9:33:08 AM: (node:1833) [DEP0128] DeprecationWarning: Invalid 'main' field in '/opt/build/repo/node_modules/react-icons/package.json' of 'lib'. Please either fix that or report it to the module author 9:33:08 AM: (Use `node --trace-deprecation ...` to show where the warning was created) 9:33:08 AM: info - Generating static pages (4/16) 9:33:08 AM: (node:1819) [DEP0128] DeprecationWarning: Invalid 'main' field in '/opt/build/repo/node_modules/react-icons/package.json' of 'lib'. Please either fix that or report it to the module author 9:33:08 AM: (Use `node --trace-deprecation ...` to show where the warning was created) 9:33:08 AM: (node:1840) [DEP0128] DeprecationWarning: Invalid 'main' field in '/opt/build/repo/node_modules/react-icons/package.json' of 'lib'. Please either fix that or report it to the module author 9:33:08 AM: (Use `node --trace-deprecation ...` to show where the warning was created) 9:33:08 AM: (node:1805) [DEP0128] DeprecationWarning: Invalid 'main' field in '/opt/build/repo/node_modules/react-icons/package.json' of 'lib'. Please either fix that or report it to the module author 9:33:08 AM: (Use `node --trace-deprecation ...` to show where the warning was created) 9:33:08 AM: (node:1812) [DEP0128] DeprecationWarning: Invalid 'main' field in '/opt/build/repo/node_modules/react-icons/package.json' of 'lib'. Please either fix that or report it to the module author 9:33:08 AM: (Use `node --trace-deprecation ...` to show where the warning was created) 9:33:08 AM: (node:1791) [DEP0128] DeprecationWarning: Invalid 'main' field in '/opt/build/repo/node_modules/react-icons/package.json' of 'lib'. Please either fix that or report it to the module author 9:33:08 AM: (Use `node --trace-deprecation ...` to show where the warning was created) 9:33:09 AM: false 9:33:09 AM: [] 9:33:09 AM: true 9:33:09 AM: {} 9:33:09 AM: false 9:33:09 AM: undefined 9:33:09 AM: [] 9:33:09 AM: false 9:33:09 AM: [] 9:33:09 AM: true 9:33:09 AM: {} 9:33:09 AM: true 9:33:09 AM: undefined 9:33:09 AM: {} 9:33:09 AM: undefined 9:33:09 AM: false 9:33:09 AM: [] 9:33:09 AM: true 9:33:09 AM: false 9:33:09 AM: {} 9:33:09 AM: undefined 9:33:09 AM: [] 9:33:09 AM: true 9:33:09 AM: {} 9:33:09 AM: undefined 9:33:09 AM: false 9:33:09 AM: [] 9:33:09 AM: true 9:33:09 AM: {} 9:33:09 AM: false 9:33:09 AM: undefined 9:33:09 AM: [] 9:33:09 AM: true 9:33:09 AM: {} 9:33:09 AM: undefined 9:33:09 AM: false 9:33:09 AM: [] 9:33:09 AM: true 9:33:09 AM: {} 9:33:09 AM: undefined 9:33:09 AM: info - Generating static pages (8/16) 9:33:09 AM: false 9:33:09 AM: [] 9:33:09 AM: false 9:33:09 AM: true 9:33:09 AM: [] 9:33:09 AM: {} 9:33:09 AM: undefined 9:33:09 AM: true 9:33:09 AM: {} 9:33:09 AM: undefined 9:33:09 AM: false 9:33:09 AM: [] 9:33:09 AM: true 9:33:09 AM: {} 9:33:09 AM: undefined 9:33:09 AM: false 9:33:09 AM: [] 9:33:09 AM: true 9:33:09 AM: {} 9:33:09 AM: undefined 9:33:09 AM: info - Generating static pages (12/16) 9:33:09 AM: info - Generating static pages (16/16) 9:33:09 AM: info - Finalizing page optimization... 9:33:09 AM: Page Size First Load JS 9:33:09 AM: ┌ λ / 2.49 kB 95.3 kB 9:33:09 AM: ├ /_app 0 B 72.7 kB 9:33:09 AM: ├ ○ /404 197 B 72.9 kB 9:33:09 AM: ├ λ /account 1.7 kB 251 kB 9:33:09 AM: ├ λ /account/active-subscriptions 2.37 kB 256 kB 9:33:09 AM: ├ └ css/0b96c53ff4f37344.css 2.65 kB 9:33:09 AM: ├ λ /account/subscription-history 2.48 kB 95.3 kB 9:33:09 AM: ├ λ /api/auth/[...auth0] 0 B 72.7 kB 9:33:09 AM: ├ λ /api/auth/test-login 0 B 72.7 kB 9:33:09 AM: ├ λ /api/getCarrierRates 0 B 72.7 kB 9:33:09 AM: ├ λ /api/getLoginUrl 0 B 72.7 kB 9:33:09 AM: ├ λ /api/getPostalData 0 B 72.7 kB 9:33:09 AM: ├ λ /api/getSetupObjects 0 B 72.7 kB 9:33:09 AM: ├ λ /api/getStoredInstrumentInfo 0 B 72.7 kB 9:33:09 AM: ├ λ /api/getSubscriptionHistory 0 B 72.7 kB 9:33:09 AM: ├ λ /api/getSubscriptionImage 0 B 72.7 kB 9:33:09 AM: ├ λ /api/getSubSkus 0 B 72.7 kB 9:33:09 AM: ├ λ /api/initAuthLock 0 B 72.7 kB 9:33:09 AM: ├ λ /api/isAuthenticated 0 B 72.7 kB 9:33:09 AM: ├ λ /api/shippingUpdates 0 B 72.7 kB 9:33:09 AM: ├ λ /api/subscriptionUpdates 0 B 72.7 kB 9:33:09 AM: ├ λ /api/subValidation 0 B 72.7 kB 9:33:09 AM: ├ λ /api/testCreditCard 0 B 72.7 kB 9:33:09 AM: ├ λ /api/updateShipping 0 B 72.7 kB 9:33:09 AM: ├ λ /confirm 53 kB 146 kB 9:33:09 AM: ├ λ /index-old 6.25 kB 99.6 kB 9:33:09 AM: ├ λ /login 4.15 kB 514 kB 9:33:09 AM: ├ ○ /nostalgia 345 B 73 kB 9:33:09 AM: ├ λ /payment-method 2.82 kB 95.6 kB 9:33:09 AM: ├ λ /review 1.83 kB 87.6 kB 9:33:09 AM: ├ └ css/6eaa0a48ee1a7151.css 1.23 kB 9:33:09 AM: ├ λ /setup 4.08 kB 517 kB 9:33:09 AM: ├ λ /shipping-method 3.54 kB 100 kB 9:33:09 AM: ├ ● /subscriptions/[skutag] (12635 ms) 1.54 kB 102 kB 9:33:09 AM: ├ ├ /subscriptions/AHC (1111 ms) 9:33:09 AM: ├ ├ /subscriptions/SFF (1107 ms) 9:33:09 AM: ├ ├ /subscriptions/ASH (1100 ms) 9:33:09 AM: ├ ├ /subscriptions/CPM (1095 ms) 9:33:09 AM: ├ ├ /subscriptions/WSP (1084 ms) 9:33:09 AM: ├ ├ /subscriptions/MCC (1067 ms) 9:33:09 AM: ├ ├ /subscriptions/FAB (1048 ms) 9:33:09 AM: ├ └ [+5 more paths] (avg 1005 ms) 9:33:09 AM: └ ○ /success (596 ms) 1.41 kB 94.2 kB 9:33:09 AM: + First Load JS shared by all 72.7 kB 9:33:09 AM: ├ chunks/framework-bb5c596eafb42b22.js 42.1 kB 9:33:09 AM: ├ chunks/main-82ce946a4ac14553.js 27.8 kB 9:33:09 AM: ├ chunks/pages/_app-e4f26c1f3f938033.js 1.96 kB 9:33:09 AM: ├ chunks/webpack-cb7634a8b6194820.js 884 B 9:33:09 AM: └ css/602b77c5c85bb3c0.css 3.53 kB 9:33:09 AM: λ (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps) 9:33:09 AM: ○ (Static) automatically rendered as static HTML (uses no initial props) 9:33:09 AM: ● (SSG) automatically generated as static HTML + JSON (uses getStaticProps) 9:33:09 AM: Done in 13.57s. 9:33:09 AM: ​ 9:33:09 AM: (build.command completed in 13.7s) 9:33:09 AM: ​ 9:33:09 AM: ──────────────────────────────────────────────────────────────── 9:33:09 AM: 3. @netlify/plugin-nextjs (onBuild event) 9:33:09 AM: ──────────────────────────────────────────────────────────────── 9:33:09 AM: ​ 9:33:09 AM: This version of Next.js doesn't support advanced API routes. Skipping...{ functionsDir: '/opt/build/repo/.netlify/functions-internal' } 9:33:09 AM: Patching /opt/build/repo/node_modules/next/dist/server/base-server.js 9:33:09 AM: Done 9:33:09 AM: Patching /opt/build/repo/node_modules/next/dist/server/next-server.js 9:33:09 AM: Done 9:33:09 AM: Moving static page files to serve from CDN... 9:33:09 AM: Moved 26 files 9:33:09 AM: Using Netlify Edge Functions for image format detection. Set env var "NEXT_DISABLE_EDGE_IMAGES=true" to disable. 9:33:09 AM: Netlify configuration property "redirects" value changed to [ 9:33:09 AM: { from: '/_next/static/*', to: '/static/:splat', status: 200 }, 9:33:09 AM: { 9:33:09 AM: from: '/_next/image*', 9:33:09 AM: query: { url: ':url', w: ':width', q: ':quality' }, 9:33:09 AM: to: '/_ipx/w_:width,q_:quality/:url', 9:33:09 AM: status: 301 9:33:09 AM: }, 9:33:09 AM: { from: '/_ipx/*', to: '/.netlify/builders/_ipx', status: 200 }, 9:33:09 AM: { from: '/cache/*', to: '/404.html', status: 404, force: true }, 9:33:09 AM: { from: '/server/*', to: '/404.html', status: 404, force: true }, 9:33:09 AM: { from: '/serverless/*', to: '/404.html', status: 404, force: true }, 9:33:09 AM: { from: '/trace', to: '/404.html', status: 404, force: true }, 9:33:09 AM: { from: '/traces', to: '/404.html', status: 404, force: true }, 9:33:09 AM: { 9:33:09 AM: from: '/routes-manifest.json', 9:33:09 AM: to: '/404.html', 9:33:09 AM: status: 404, 9:33:09 AM: force: true 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/build-manifest.json', 9:33:09 AM: to: '/404.html', 9:33:09 AM: status: 404, 9:33:09 AM: force: true 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/prerender-manifest.json', 9:33:09 AM: to: '/404.html', 9:33:09 AM: status: 404, 9:33:09 AM: force: true 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/react-loadable-manifest.json', 9:33:09 AM: to: '/404.html', 9:33:09 AM: status: 404, 9:33:09 AM: force: true 9:33:09 AM: }, 9:33:09 AM: { from: '/BUILD_ID', to: '/404.html', status: 404, force: true }, 9:33:09 AM: { 9:33:09 AM: from: '/api/auth/test-login', 9:33:09 AM: to: '/.netlify/functions/_api_auth_test-login-handler', 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/api/getCarrierRates', 9:33:09 AM: to: '/.netlify/functions/_api_getCarrierRates-handler', 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/api/getLoginUrl', 9:33:09 AM: to: '/.netlify/functions/_api_getLoginUrl-handler', 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/api/getPostalData', 9:33:09 AM: to: '/.netlify/functions/_api_getPostalData-handler', 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/api/getSetupObjects', 9:33:09 AM: to: '/.netlify/functions/_api_getSetupObjects-handler', 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/api/getStoredInstrumentInfo', 9:33:09 AM: to: '/.netlify/functions/_api_getStoredInstrumentInfo-handler', 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/api/getSubSkus', 9:33:09 AM: to: '/.netlify/functions/_api_getSubSkus-handler', 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/api/getSubscriptionHistory', 9:33:09 AM: to: '/.netlify/functions/_api_getSubscriptionHistory-handler', 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/api/getSubscriptionImage', 9:33:09 AM: to: '/.netlify/functions/_api_getSubscriptionImage-handler', 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/api/initAuthLock', 9:33:09 AM: to: '/.netlify/functions/_api_initAuthLock-handler', 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/api/isAuthenticated', 9:33:09 AM: to: '/.netlify/functions/_api_isAuthenticated-handler', 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/api/auth/:auth0/*', 9:33:09 AM: to: '/.netlify/functions/_api_auth_auth0-SPLAT-handler', 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/api/shippingUpdates', 9:33:09 AM: to: '/.netlify/functions/_api_shippingUpdates-handler', 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/api/subValidation', 9:33:09 AM: to: '/.netlify/functions/_api_subValidation-handler', 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/api/subscriptionUpdates', 9:33:09 AM: to: '/.netlify/functions/_api_subscriptionUpdates-handler', 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/api/testCreditCard', 9:33:09 AM: to: '/.netlify/functions/_api_testCreditCard-handler', 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/api/updateShipping', 9:33:09 AM: to: '/.netlify/functions/_api_updateShipping-handler', 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/api/*', 9:33:09 AM: to: '/.netlify/functions/___netlify-handler', 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/favicon.ico', 9:33:09 AM: to: '/favicon.ico', 9:33:09 AM: conditions: { Cookie: [Array] }, 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/vercel.svg', 9:33:09 AM: to: '/vercel.svg', 9:33:09 AM: conditions: { Cookie: [Array] }, 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/images/logo_21.svg', 9:33:09 AM: to: '/images/logo_21.svg', 9:33:09 AM: conditions: { Cookie: [Array] }, 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/fonts/UntitledSans/UntitledSans-Black.otf', 9:33:09 AM: to: '/fonts/UntitledSans/UntitledSans-Black.otf', 9:33:09 AM: conditions: { Cookie: [Array] }, 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/fonts/UntitledSans/UntitledSans-BlackItalic.otf', 9:33:09 AM: to: '/fonts/UntitledSans/UntitledSans-BlackItalic.otf', 9:33:09 AM: conditions: { Cookie: [Array] }, 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/fonts/UntitledSans/UntitledSans-Bold.otf', 9:33:09 AM: to: '/fonts/UntitledSans/UntitledSans-Bold.otf', 9:33:09 AM: conditions: { Cookie: [Array] }, 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/fonts/UntitledSans/UntitledSans-BoldItalic.otf', 9:33:09 AM: to: '/fonts/UntitledSans/UntitledSans-BoldItalic.otf', 9:33:09 AM: conditions: { Cookie: [Array] }, 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/fonts/UntitledSans/UntitledSans-Light.otf', 9:33:09 AM: to: '/fonts/UntitledSans/UntitledSans-Light.otf', 9:33:09 AM: conditions: { Cookie: [Array] }, 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/fonts/UntitledSans/UntitledSans-LightItalic.otf', 9:33:09 AM: to: '/fonts/UntitledSans/UntitledSans-LightItalic.otf', 9:33:09 AM: conditions: { Cookie: [Array] }, 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/fonts/UntitledSans/UntitledSans-Medium.otf', 9:33:09 AM: to: '/fonts/UntitledSans/UntitledSans-Medium.otf', 9:33:09 AM: conditions: { Cookie: [Array] }, 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/fonts/UntitledSans/UntitledSans-MediumItalic.otf', 9:33:09 AM: to: '/fonts/UntitledSans/UntitledSans-MediumItalic.otf', 9:33:09 AM: conditions: { Cookie: [Array] }, 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/fonts/UntitledSans/UntitledSans-Regular.otf', 9:33:09 AM: to: '/fonts/UntitledSans/UntitledSans-Regular.otf', 9:33:09 AM: conditions: { Cookie: [Array] }, 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/fonts/UntitledSans/UntitledSans-RegularItalic.otf', 9:33:09 AM: to: '/fonts/UntitledSans/UntitledSans-RegularItalic.otf', 9:33:09 AM: conditions: { Cookie: [Array] }, 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/fonts/UntitledSerif/UntitledSerif-Bold.otf', 9:33:09 AM: to: '/fonts/UntitledSerif/UntitledSerif-Bold.otf', 9:33:09 AM: conditions: { Cookie: [Array] }, 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/fonts/UntitledSerif/UntitledSerif-BoldItalic.otf', 9:33:09 AM: to: '/fonts/UntitledSerif/UntitledSerif-BoldItalic.otf', 9:33:09 AM: conditions: { Cookie: [Array] }, 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/fonts/UntitledSerif/UntitledSerif-Medium.otf', 9:33:09 AM: to: '/fonts/UntitledSerif/UntitledSerif-Medium.otf', 9:33:09 AM: conditions: { Cookie: [Array] }, 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/fonts/UntitledSerif/UntitledSerif-MediumItalic.otf', 9:33:09 AM: to: '/fonts/UntitledSerif/UntitledSerif-MediumItalic.otf', 9:33:09 AM: conditions: { Cookie: [Array] }, 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/fonts/UntitledSerif/UntitledSerif-Regular.otf', 9:33:09 AM: to: '/fonts/UntitledSerif/UntitledSerif-Regular.otf', 9:33:09 AM: conditions: { Cookie: [Array] }, 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/fonts/UntitledSerif/UntitledSerif-RegularItalic.otf', 9:33:09 AM: to: '/fonts/UntitledSerif/UntitledSerif-RegularItalic.otf', 9:33:09 AM: conditions: { Cookie: [Array] }, 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/images/subscriptionLogos/arkham.png', 9:33:09 AM: to: '/images/subscriptionLogos/arkham.png', 9:33:09 AM: conditions: { Cookie: [Array] }, 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/images/subscriptionLogos/ashes.png', 9:33:09 AM: to: '/images/subscriptionLogos/ashes.png', 9:33:09 AM: conditions: { Cookie: [Array] }, 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/images/subscriptionLogos/fleshandblood.png', 9:33:09 AM: to: '/images/subscriptionLogos/fleshandblood.png', 9:33:09 AM: conditions: { Cookie: [Array] }, 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/images/subscriptionLogos/keyforge.png', 9:33:09 AM: to: '/images/subscriptionLogos/keyforge.png', 9:33:09 AM: conditions: { Cookie: [Array] }, 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/images/subscriptionLogos/marvelchampions.png', 9:33:09 AM: to: '/images/subscriptionLogos/marvelchampions.png', 9:33:09 AM: conditions: { Cookie: [Array] }, 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/images/subscriptionLogos/marvelcrisisprotocol.png', 9:33:09 AM: to: '/images/subscriptionLogos/marvelcrisisprotocol.png', 9:33:09 AM: conditions: { Cookie: [Array] }, 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/images/subscriptionLogos/pokemon.png', 9:33:09 AM: to: '/images/subscriptionLogos/pokemon.png', 9:33:09 AM: conditions: { Cookie: [Array] }, 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/images/subscriptionLogos/skytear.png', 9:33:09 AM: to: '/images/subscriptionLogos/skytear.png', 9:33:09 AM: conditions: { Cookie: [Array] }, 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/images/subscriptionLogos/solforge.png', 9:33:09 AM: to: '/images/subscriptionLogos/solforge.png', 9:33:09 AM: conditions: { Cookie: [Array] }, 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/images/subscriptionLogos/sorcery.png', 9:33:09 AM: to: '/images/subscriptionLogos/sorcery.png', 9:33:09 AM: conditions: { Cookie: [Array] }, 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/images/subscriptionLogos/wingspan.png', 9:33:09 AM: to: '/images/subscriptionLogos/wingspan.png', 9:33:09 AM: conditions: { Cookie: [Array] }, 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/images/subscriptionProductBanners/arkham.jpg', 9:33:09 AM: to: '/images/subscriptionProductBanners/arkham.jpg', 9:33:09 AM: conditions: { Cookie: [Array] }, 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/images/subscriptionProductBanners/ashes.jpg', 9:33:09 AM: to: '/images/subscriptionProductBanners/ashes.jpg', 9:33:09 AM: conditions: { Cookie: [Array] }, 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/images/subscriptionProductBanners/fleshandblood.jpg', 9:33:09 AM: to: '/images/subscriptionProductBanners/fleshandblood.jpg', 9:33:09 AM: conditions: { Cookie: [Array] }, 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/images/subscriptionProductBanners/keyforge.jpg', 9:33:09 AM: to: '/images/subscriptionProductBanners/keyforge.jpg', 9:33:09 AM: conditions: { Cookie: [Array] }, 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/images/subscriptionProductBanners/marvelchampions.jpg', 9:33:09 AM: to: '/images/subscriptionProductBanners/marvelchampions.jpg', 9:33:09 AM: conditions: { Cookie: [Array] }, 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/images/subscriptionProductBanners/marvelcrisisprotocol.jpg', 9:33:09 AM: to: '/images/subscriptionProductBanners/marvelcrisisprotocol.jpg', 9:33:09 AM: conditions: { Cookie: [Array] }, 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/images/subscriptionProductBanners/pokemon.jpg', 9:33:09 AM: to: '/images/subscriptionProductBanners/pokemon.jpg', 9:33:09 AM: conditions: { Cookie: [Array] }, 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/images/subscriptionProductBanners/skytear.jpg', 9:33:09 AM: to: '/images/subscriptionProductBanners/skytear.jpg', 9:33:09 AM: conditions: { Cookie: [Array] }, 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/images/subscriptionProductBanners/solforge.jpg', 9:33:09 AM: to: '/images/subscriptionProductBanners/solforge.jpg', 9:33:09 AM: conditions: { Cookie: [Array] }, 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/images/subscriptionProductBanners/sorcery.jpg', 9:33:09 AM: to: '/images/subscriptionProductBanners/sorcery.jpg', 9:33:09 AM: conditions: { Cookie: [Array] }, 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/images/subscriptionProductBanners/wingspan.jpg', 9:33:09 AM: to: '/images/subscriptionProductBanners/wingspan.jpg', 9:33:09 AM: conditions: { Cookie: [Array] }, 9:33:09 AM: status: 200 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/*', 9:33:09 AM: to: '/.netlify/functions/___netlify-handler', 9:33:09 AM: status: 200, 9:33:09 AM: conditions: { Cookie: [Array] }, 9:33:09 AM: force: true 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/_next/data/Jq36FoyXtg8HBNVP9oAvU/index.json', 9:33:09 AM: to: '/.netlify/functions/___netlify-handler', 9:33:09 AM: status: 200, 9:33:09 AM: force: false 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/', 9:33:09 AM: to: '/.netlify/functions/___netlify-handler', 9:33:09 AM: status: 200, 9:33:09 AM: force: false 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/_next/data/Jq36FoyXtg8HBNVP9oAvU/account.json', 9:33:09 AM: to: '/.netlify/functions/___netlify-handler', 9:33:09 AM: status: 200, 9:33:09 AM: force: false 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/account', 9:33:09 AM: to: '/.netlify/functions/___netlify-handler', 9:33:09 AM: status: 200, 9:33:09 AM: force: false 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/_next/data/Jq36FoyXtg8HBNVP9oAvU/account/active-subscriptions.json', 9:33:09 AM: to: '/.netlify/functions/___netlify-handler', 9:33:09 AM: status: 200, 9:33:09 AM: force: false 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/account/active-subscriptions', 9:33:09 AM: to: '/.netlify/functions/___netlify-handler', 9:33:09 AM: status: 200, 9:33:09 AM: force: false 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/_next/data/Jq36FoyXtg8HBNVP9oAvU/account/subscription-history.json', 9:33:09 AM: to: '/.netlify/functions/___netlify-handler', 9:33:09 AM: status: 200, 9:33:09 AM: force: false 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/account/subscription-history', 9:33:09 AM: to: '/.netlify/functions/___netlify-handler', 9:33:09 AM: status: 200, 9:33:09 AM: force: false 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/_next/data/Jq36FoyXtg8HBNVP9oAvU/confirm.json', 9:33:09 AM: to: '/.netlify/functions/___netlify-handler', 9:33:09 AM: status: 200, 9:33:09 AM: force: false 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/confirm', 9:33:09 AM: to: '/.netlify/functions/___netlify-handler', 9:33:09 AM: status: 200, 9:33:09 AM: force: false 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/_next/data/Jq36FoyXtg8HBNVP9oAvU/index-old.json', 9:33:09 AM: to: '/.netlify/functions/___netlify-handler', 9:33:09 AM: status: 200, 9:33:09 AM: force: false 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/index-old', 9:33:09 AM: to: '/.netlify/functions/___netlify-handler', 9:33:09 AM: status: 200, 9:33:09 AM: force: false 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/_next/data/Jq36FoyXtg8HBNVP9oAvU/login.json', 9:33:09 AM: to: '/.netlify/functions/___netlify-handler', 9:33:09 AM: status: 200, 9:33:09 AM: force: false 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/login', 9:33:09 AM: to: '/.netlify/functions/___netlify-handler', 9:33:09 AM: status: 200, 9:33:09 AM: force: false 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/_next/data/Jq36FoyXtg8HBNVP9oAvU/nostalgia.json', 9:33:09 AM: to: '/.netlify/functions/___netlify-handler', 9:33:09 AM: status: 200, 9:33:09 AM: force: false 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/nostalgia', 9:33:09 AM: to: '/.netlify/functions/___netlify-handler', 9:33:09 AM: status: 200, 9:33:09 AM: force: false 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/_next/data/Jq36FoyXtg8HBNVP9oAvU/payment-method.json', 9:33:09 AM: to: '/.netlify/functions/___netlify-handler', 9:33:09 AM: status: 200, 9:33:09 AM: force: false 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/payment-method', 9:33:09 AM: to: '/.netlify/functions/___netlify-handler', 9:33:09 AM: status: 200, 9:33:09 AM: force: false 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/_next/data/Jq36FoyXtg8HBNVP9oAvU/review.json', 9:33:09 AM: to: '/.netlify/functions/___netlify-handler', 9:33:09 AM: status: 200, 9:33:09 AM: force: false 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/review', 9:33:09 AM: to: '/.netlify/functions/___netlify-handler', 9:33:09 AM: status: 200, 9:33:09 AM: force: false 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/_next/data/Jq36FoyXtg8HBNVP9oAvU/setup.json', 9:33:09 AM: to: '/.netlify/functions/___netlify-handler', 9:33:09 AM: status: 200, 9:33:09 AM: force: false 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/setup', 9:33:09 AM: to: '/.netlify/functions/___netlify-handler', 9:33:09 AM: status: 200, 9:33:09 AM: force: false 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/_next/data/Jq36FoyXtg8HBNVP9oAvU/shipping-method.json', 9:33:09 AM: to: '/.netlify/functions/___netlify-handler', 9:33:09 AM: status: 200, 9:33:09 AM: force: false 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/shipping-method', 9:33:09 AM: to: '/.netlify/functions/___netlify-handler', 9:33:09 AM: status: 200, 9:33:09 AM: force: false 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/_next/data/Jq36FoyXtg8HBNVP9oAvU/success.json', 9:33:09 AM: to: '/.netlify/functions/___netlify-handler', 9:33:09 AM: status: 200, 9:33:09 AM: force: false 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/success', 9:33:09 AM: to: '/.netlify/functions/___netlify-handler', 9:33:09 AM: status: 200, 9:33:09 AM: force: false 9:33:09 AM: }, 9:33:09 AM: { 9:33:09 AM: from: '/_next/data/Jq36FoyXtg8HBNVP9oAvU/subscriptions/:skutag.json', 9:33:09 AM: to: '/.netlify/builders/___netlify-odb-handler', 9:33:09 AM: status: 200, 9:33:09 AM: force: false 9:33:09 AM: }, 9:33:09 AM: ... 2 more items 9:33:09 AM: ]. 9:33:09 AM: ​ 9:33:09 AM: (@netlify/plugin-nextjs onBuild completed in 149ms) 9:33:09 AM: ​ 9:33:09 AM: ──────────────────────────────────────────────────────────────── 9:33:09 AM: 4. Functions bundling 9:33:09 AM: ──────────────────────────────────────────────────────────────── 9:33:09 AM: ​ 9:33:09 AM: Packaging Functions from .netlify/functions-internal directory: 9:33:09 AM: - ___netlify-handler/___netlify-handler.js 9:33:09 AM: - ___netlify-odb-handler/___netlify-odb-handler.js 9:33:09 AM: - _api_auth_auth0-SPLAT-handler/_api_auth_auth0-SPLAT-handler.js 9:33:09 AM: - _api_auth_test-login-handler/_api_auth_test-login-handler.js 9:33:09 AM: - _api_getCarrierRates-handler/_api_getCarrierRates-handler.js 9:33:09 AM: - _api_getLoginUrl-handler/_api_getLoginUrl-handler.js 9:33:09 AM: - _api_getPostalData-handler/_api_getPostalData-handler.js 9:33:09 AM: - _api_getSetupObjects-handler/_api_getSetupObjects-handler.js 9:33:09 AM: - _api_getStoredInstrumentInfo-handler/_api_getStoredInstrumentInfo-handler.js 9:33:09 AM: - _api_getSubSkus-handler/_api_getSubSkus-handler.js 9:33:09 AM: - _api_getSubscriptionHistory-handler/_api_getSubscriptionHistory-handler.js 9:33:09 AM: - _api_getSubscriptionImage-handler/_api_getSubscriptionImage-handler.js 9:33:09 AM: - _api_initAuthLock-handler/_api_initAuthLock-handler.js 9:33:09 AM: - _api_isAuthenticated-handler/_api_isAuthenticated-handler.js 9:33:09 AM: - _api_shippingUpdates-handler/_api_shippingUpdates-handler.js 9:33:09 AM: - _api_subValidation-handler/_api_subValidation-handler.js 9:33:09 AM: - _api_subscriptionUpdates-handler/_api_subscriptionUpdates-handler.js 9:33:09 AM: - _api_testCreditCard-handler/_api_testCreditCard-handler.js 9:33:09 AM: - _api_updateShipping-handler/_api_updateShipping-handler.js 9:33:09 AM: - _ipx/_ipx.js 9:33:09 AM: ​ 9:34:05 AM: ​ 9:34:05 AM: (Functions bundling completed in 56.1s) 9:34:05 AM: ​ 9:34:05 AM: ──────────────────────────────────────────────────────────────── 9:34:05 AM: 5. Edge Functions bundling 9:34:05 AM: ──────────────────────────────────────────────────────────────── 9:34:05 AM: ​ 9:34:05 AM: Packaging Edge Functions from .netlify/edge-functions directory: 9:34:05 AM: - ipx 9:34:07 AM: ​ 9:34:07 AM: (Edge Functions bundling completed in 1.6s) 9:34:07 AM: ​ 9:34:07 AM: ──────────────────────────────────────────────────────────────── 9:34:07 AM: 6. @netlify/plugin-nextjs (onPostBuild event) 9:34:07 AM: ──────────────────────────────────────────────────────────────── 9:34:07 AM: ​ 9:34:07 AM: Next.js cache saved. 9:34:07 AM: ​ 9:34:07 AM: (@netlify/plugin-nextjs onPostBuild completed in 246ms) 9:34:07 AM: ​ 9:34:07 AM: ──────────────────────────────────────────────────────────────── 9:34:07 AM: 7. Deploy site 9:34:07 AM: ──────────────────────────────────────────────────────────────── 9:34:07 AM: ​ 9:34:07 AM: Starting to deploy site from '.next' 9:34:08 AM: Creating deploy tree 9:34:08 AM: Creating deploy upload records 9:34:08 AM: 54 new files to upload 9:34:08 AM: 19 new functions to upload 9:34:36 AM: Site deploy was successfully initiated 9:34:36 AM: ​ 9:34:36 AM: (Deploy site completed in 28.5s) 9:34:36 AM: ​ 9:34:36 AM: ──────────────────────────────────────────────────────────────── 9:34:36 AM: Netlify Build Complete 9:34:36 AM: ──────────────────────────────────────────────────────────────── 9:34:36 AM: ​ 9:34:36 AM: (Netlify Build completed in 1m 41.9s) 9:34:36 AM: Starting post processing 9:34:36 AM: Caching artifacts 9:34:36 AM: Started saving node modules 9:34:36 AM: Finished saving node modules 9:34:36 AM: Started saving build plugins 9:34:36 AM: Finished saving build plugins 9:34:36 AM: Started saving yarn cache 9:34:36 AM: Post processing - HTML 9:34:37 AM: Post processing - header rules 9:34:37 AM: Post processing - redirect rules 9:34:37 AM: Post processing done 9:34:38 AM: Finished saving yarn cache 9:34:38 AM: Started saving pip cache 9:34:38 AM: Finished saving pip cache 9:34:38 AM: Started saving emacs cask dependencies 9:34:38 AM: Finished saving emacs cask dependencies 9:34:38 AM: Started saving maven dependencies 9:34:38 AM: Finished saving maven dependencies 9:34:38 AM: Started saving boot dependencies 9:34:38 AM: Finished saving boot dependencies 9:34:38 AM: Started saving rust rustup cache 9:34:38 AM: Finished saving rust rustup cache 9:34:38 AM: Started saving go dependencies 9:34:38 AM: Finished saving go dependencies 9:34:38 AM: Build script success 9:34:41 AM: Site is live ✨ 9:34:42 AM: Uploading Cache of size 505.6MB 9:34:45 AM: Finished processing build request in 2m14.490845418s ```

Function logs

Function logs ``` # Paste logs here ```

.next JSON files

generated .next JSON files ``` # Paste file contents here. Please check there isn't any private info in them # You can either build locally, or download the deploy from Netlify by clicking the arrow next to the deploy time. ```
Waterpile commented 2 years ago

As an update, I installed the @netlify/plugin-nextjs library manually (v4.25.0) and disabled the plugin in the dash. everything is now working as expected. will keep this configuration until issue is resolved by future update or patch.

ericapisani commented 1 year ago

Hi @Waterpile ,

We just shipped a change that addresses an issue with redirects in v4.28.2. Could you check to see if this change has fixed your issue?

ericapisani commented 1 year ago

Closing as this has been inactive for a while. If this issue is still persisting, please don't hesitate to reopen this.