Thank you for the Video, But i'm getting that error even when run build. please what should I should do? my node version is 16.14.0 while the npm 8.3.1
If you're on windows you need to rename the config file. The issue is documented on their npm page. Your node version should be fine. But you should consider using NVM so you're flexible
Hey man, I'm having an error after running . SyntaxError: Unexpected token 'export' could you please suggest any idea on how to solve it?? Thank you for the video.
It's a dev dependency because I only need the package at build time. You only want to add a package to none dev dependencies if it's required to execute once built
Explanations are good, but please if you explain something and you want to use you webcam too, face the webcam when you speak. It is just weird to look at your side profile
The tool you can use to check whether your sitemap has been indexed properly is called 'google search console'. There's a tab called sitemap where it gives you all the information they have collected from you
Good video ! I like how you struggle, it is cool to see that we are not alone :)
yes, tbh this :D
Same!
I took a shot everytime you said sitemap and now I'm too drunk to code. Best time ever.
🤣
4:30 LOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOL - Only a develper would understand!
Wow, I tried search how can solve this problem but I not found, after when find your video I solved thank you so much 🥰
wow the way you explain is just fantastic
keep it up
Love the way you teach.
I totally agree at 4:36. Never! It's frustrating!
Awesome video! I can so relate to 4:24 LOL!
🙏
Supercool video buddy! Love your snarky and humourus comments, keep posting pleas!=)
Thanks to you for that , very helpful 😉
It's cool bro~ very useful
Thank for the tutorial man... 😁😁
Thanx bro. It helped a lot.
😆Please keep making tutorials. I enjoyed this and you helped a ton.
Thank you! Working on one right now 🍻
thx for sharing ~ you look very enjoying coding ~
nice, you put some emotion into it and that's good to see - people these days seem robotic :)
Whats the process now in 2024, with the latest version of NextJS? Has anything changed?
Thank you for the Video, But i'm getting that error even when run build. please what should I should do? my node version is 16.14.0 while the npm 8.3.1
If you're on windows you need to rename the config file. The issue is documented on their npm page.
Your node version should be fine. But you should consider using NVM so you're flexible
npm install next-sitemap --save-dev gives me an error found incompatible module. Please help
What version of node are you running?
@@caleyCodeLab I got v14.18.1
If you throw up a repo I'll take a look when I get a chance 🏋️
@@caleyCodeLab Please tell how to update node version. I have tried the command but it wasn't updating
for those who have problems
yarn next export and cd out run
npx http-server
Hey man, I'm having an error after running . SyntaxError: Unexpected token 'export'
could you please suggest any idea on how to solve it??
Thank you for the video.
Have you successfully exported and are able to run it as a static site? Sounds like config but very difficult to say
i really love your reaction on error ....Its never straight forward...never like that......😂😅
Why is it that mine dont generate a robots.txt and xml
i love it, it's so funny
thank you! they need to fix their documentation 😂
I have one doubt why did you install in dev dependency?
It's a dev dependency because I only need the package at build time. You only want to add a package to none dev dependencies if it's required to execute once built
@@caleyCodeLab got it. Thanks
R u walton raiders?
thanks mate, you are funny
excellent excellent
love from india
har har mahadev
Why did you create a "sitemap" script rather than using the "postbuild" script as suggested in the docs?
Because sitemap is just one post build operation. Postbuild is too generic
Really nice video! I'm new to React/Next, can someone explain me what the /out is? Is that something like a live server? Can't find it on the web :)
/out is a folder next generates when you statically export a website
getting 404 when i go to route sitemap!!! why
Difficult to say unless you sling a repo
@@caleyCodeLab i managed to fix that, thank you
Good man!
@@imkir4n how you fixed that?
@@ardibandilli6437 you need to place that sitemap.xml file inside public folder
Explanations are good, but please if you explain something and you want to use you webcam too, face the webcam when you speak. It is just weird to look at your side profile
How are you so cool dude😅
I'm going to assume this is some dry sarcasm
just subbed man, do you collaborate on projects for fun? seeking a mentor 🍋
Hey thanks 🤲 at the moment no due to my actual job being really busy. I like the idea of it in the future though !
mate why are all our pages in sitemap-0.xml and not on sitemap.xml? isn't this confusing?
Just a bit of config with the sitemap package. You can change it, but I've had my sites successfully crawled with it as default
@@caleyCodeLab thanks so google will understand that your pages are listed in sitemap-0.xml and not on sitemap.xml, correct?
@@jennysquesttowellness Man, i have this doubt too...
The tool you can use to check whether your sitemap has been indexed properly is called 'google search console'. There's a tab called sitemap where it gives you all the information they have collected from you
any solution, how to change this ?