Trouble w/ netlify deploy on build. Error: invalid netlify instance URL: undefined

Hello,

I’m having trouble w/ a failing build that may be related to me adding netlify identity.

If possible, could you point me in the proper direction regarding what needs fixing?

I tried googling for the error message and ran through a few stack overflow articles but they didn’t seem to pertain to my trouble.

Any guidance would be greatly appreciated.

Deploy URL:
https://app.netlify.com/sites/taoistprogrammer/deploys/5f245597582c6e01c034c359

Thank you for your time!

10:36:09 AM: error gatsby-plugin-mdx
10:36:09 AM: Error: invalid netlify instance URL: undefined. Please check the docs for proper usage or file an issue.
10:36:09 AM:     at f (evalmachine.<anonymous>:12348:851)
10:36:09 AM:     at d (evalmachine.<anonymous>:11089:498)
10:36:09 AM:     at $a (evalmachine.<anonymous>:11092:16)
10:36:09 AM:     at a.b.render (evalmachine.<anonymous>:11097:476)
10:36:09 AM:     at a.b.read (evalmachine.<anonymous>:11097:18)
10:36:09 AM:     at renderToStaticMarkup (evalmachine.<anonymous>:11107:462)
10:36:09 AM:     at ./node_modules/gatsby-plugin-mdx/utils/wrap-root-render-html-entry.js.__webpack_exports__.default.body (evalmachine.<anonymous>:6241:511)
10:36:09 AM:     at keys.map (/opt/build/repo/node_modules/gatsby-plugin-mdx/utils/render-html.js:157:23)
10:36:09 AM:     at Array.map (<anonymous>)
10:36:09 AM:     at compiler.run (/opt/build/repo/node_modules/gatsby-plugin-mdx/utils/render-html.js:155:22)
10:36:09 AM: /opt/build/repo/node_modules/yoga-layout-prebuilt/yoga-layout/build/Release/nbind.js:53
10:36:09 AM:         throw ex;
10:36:09 AM:         ^
10:36:09 AM: Error: invalid netlify instance URL: undefined. Please check the docs for proper usage or file an issue.
10:36:09 AM:     at f (evalmachine.<anonymous>:12348:851)
10:36:09 AM:     at d (evalmachine.<anonymous>:11089:498)
10:36:09 AM:     at $a (evalmachine.<anonymous>:11092:16)
10:36:09 AM:     at a.b.render (evalmachine.<anonymous>:11097:476)
10:36:09 AM:     at a.b.read (evalmachine.<anonymous>:11097:18)
10:36:09 AM:     at renderToStaticMarkup (evalmachine.<anonymous>:11107:462)
10:36:09 AM:     at ./node_modules/gatsby-plugin-mdx/utils/wrap-root-render-html-entry.js.__webpack_exports__.default.body (evalmachine.<anonymous>:6241:511)
10:36:09 AM:     at keys.map (/opt/build/repo/node_modules/gatsby-plugin-mdx/utils/render-html.js:157:23)
10:36:09 AM:     at Array.map (<anonymous>)
10:36:09 AM:     at compiler.run (/opt/build/repo/node_modules/gatsby-plugin-mdx/utils/render-html.js:155:22)
10:36:10 AM: ​
10:36:10 AM: ┌─────────────────────────────┐
10:36:10 AM: │   "build.command" failed    │
10:36:10 AM: └─────────────────────────────┘
10:36:10 AM: ​
10:36:10 AM:   Error message
10:36:10 AM:   Command failed with exit code 7: gatsby build
10:36:10 AM: ​
10:36:10 AM:   Error location
10:36:10 AM:   In Build command from Netlify app:
10:36:10 AM:   gatsby build
10:36:10 AM: ​
10:36:10 AM:   Resolved config
10:36:10 AM:   build:
10:36:10 AM:     command: gatsby build
10:36:10 AM:     commandOrigin: ui
10:36:10 AM:     environment:
10:36:10 AM:       - REVIEW_ID
10:36:10 AM:     publish: /opt/build/repo/public
10:36:10 AM: Caching artifacts