Error NextJS Edge Runtime Build

Hello. I’m attempting my first NextJS Edge runtime build on Pages. I’m making a prototype directory site for work. I’m getting these errors in my log.

07:07:16.979 Error occurred prerendering page /faq. Read more: prerender-error | Next.js
07:07:16.979 ReferenceError: self is not defined
07:07:16.979 at Object. (/opt/buildhome/repo/.next/server/pages/faq.js:1:1)
07:07:16.979 at Module._compile (node:internal/modules/cjs/loader:1105:14)
07:07:16.979 at Object.Module._extensions…js (node:internal/modules/cjs/loader:1159:10)
07:07:16.980 at Module.load (node:internal/modules/cjs/loader:981:32)
07:07:16.980 at Function.Module._load (node:internal/modules/cjs/loader:822:12)
07:07:16.980 at Module.require (node:internal/modules/cjs/loader:1005:19)
07:07:16.980 at require (node:internal/modules/cjs/helpers:102:18)
07:07:16.982 at Object.requirePage (/opt/buildhome/repo/node_modules/next/dist/server/require.js:88:12)
07:07:16.982 at /opt/buildhome/repo/node_modules/next/dist/server/load-components.js:37:73
07:07:16.982 at async Object.loadComponents (/opt/buildhome/repo/node_modules/next/dist/server/load-components.js:37:26)

My repo is GitHub - SingularDave/duly_directory_november_5 at react_18

Any help would be greatly appreciated!
thanks!