i always get this error fetch is not defined when submit the domain
npm run index domain.com
[email protected] index ts-node ./src/cli.ts domain.com
Processing site: sc-domain:domain.com /seo/google-indexing-script/src/shared/utils.ts:19 const response = await fetch(url, options); ^ ReferenceError: fetch is not defined at fetchRetry (/seo/google-indexing-script/src/shared/utils.ts:19:22) at fetchRetry (seo/google-indexing-script/src/shared/utils.ts:29:12) at fetchRetry (/seo/google-indexing-script/src/shared/utils.ts:29:12) at fetchRetry (/seo/google-indexing-script/src/shared/utils.ts:29:12) at fetchRetry (/seo/google-indexing-script/src/shared/utils.ts:29:12) at fetchRetry (/seo/google-indexing-script/src/shared/utils.ts:29:12) at getSitemapsList (/seo/google-indexing-script/src/shared/sitemap.ts:8:36) at getSitemapPages (/seo/google-indexing-script/src/shared/sitemap.ts:38:26) at index (/seo/google-indexing-script/src/index.ts:50:50) at processTicksAndRejections (node:internal/process/task_queues:96:5)
Source: goenning/google-indexing-script