-
Notifications
You must be signed in to change notification settings - Fork 483
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i always get this error fetch is not defined when submit the domain #36
Comments
Your node is probably outdated, try updating that first. @AntoineKM maybe we could check for presence of “fetch” and then exit early |
Hey, it's because you are using a version of Node prior to 18. |
We could implement |
thanks by upgrading node problem solved but i got another error (node:172055) [DEP0040] DeprecationWarning: The |
Are you sure you're on the right property? |
i tryed all how can i prove that onn the right probarty i tryed all not working |
I'm so frustrated i have only one website and only now google console account |
We'll get there, don't worry, I also remember having trouble setting up the project, this will help me remember what it was and put together clearer information in the README. Did you activate these apis: |
thanks a lot it works perfect i think i just i forget and enabled it on other project , can i access it through web, that can have multiple services account , cause i exceeded the limits of one services account and when i changed it repeats the same urls till it exceeded the limits on the same urls and control it locally, thanks a lot 📄 Processing url: https://www.dmain/arsenal edges past spirited everton in close encounter 📄 Processing url: https://www.dmain/murderonthedancefloor: the latest viral trend on tiktok 📄 Processing url: https://www.dmain/night swim: a lukewarm attempt at horror by blumhouse productions 📄 Processing url: https://www.dmain/breakingnews: silt police investigate incident involving u.s. rep. lauren boebert and ex-husband 📄 Processing url: https://www.dmain/green bay packers secure nfc wild card playoff spot with victory over chicago bears |
I've seen guys use this technique on another software, I don't know if it's authorized by Google, but if it works, you can try opening a pull request with the possibility of having several service accounts. |
is there any genuine web control panel for this script ? that would be awesome to change these setting even manually but through web |
Not at the moment, but it was one of my ideas 😁 |
Its great and I like it I just facing this problem |
npm run index 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)
The text was updated successfully, but these errors were encountered: