For those who are having issue with data not updating after refresh with the latest Next.js 13 version, add the following line on top of every class/file (EXCEPT those in the 'azure' folder) that has used 'fetched()': export const dynamic = 'force-dynamic';
Your vibe and energy its just awesome when ever i start building your projects i can sit for hours without burnout .Your explanation to concepts is awesome.
I must say that I found this tutorial quite challenging compared to others on this channel. While I was able to complete other projects without any problems, I struggled to repeat the code provided in this tutorial, but can't handle even with repository.
I can't seem to fix a problem with getting a 200 error from the chatgpt suggestion, even when I copy code from the repo to find what i could've messed up
OMG! Couldn't believe how amazing of this build ! Sonny x azure is incredible joint venture ! the tutorial is fun ,Joyful and worth every minute to learn from. Only here we can find such meaningful learning material !!! #PAPAFAM !
Thanks I am a very old fart who knows nothing about coding but Listening to you inspires me to learn how to turn the dam computer on by myself.. You rock Alan from Christchurch new Zealand
pretty cool, I'm having a better understanding of react, next.js and tailwindcss overall with these videos, much more personal than other videos which assume you already know a bunch of stuff.
Hi Sonny! Your videos are awesome! I started using typescript, and I remember that, you mentioned a trick how can you see the type of something in visual studio code, but I forgot the key combination. What was it?😀
Wow, such a great tutorial. Just found your channel a couple of weeks ago and already did 2 tutorials, I am becoming a big fan of the #PAPAFAM. Sonny, just a question, the server JASONkeeper where you had some APIs seems to be down for a couple of weeks now. Could you upload the APIs for Airbnb 2.0 somewhere else? I was so close to finishing it when the server got offline. I am grateful for your ability to share knowledge! Keep up the great work. THANK YOU
@@siddharthgautam6081 No. I started the project all over again, but apparently when I try to access my local endpoint localhost:3000/api/suggestion it doesn't work at all even after restart
@@siddharthgautam6081 At first it worked for me too and the site was accessible. However after sometime I couldn't reach it. I think it has something to do with api routes in nextjs 13.2
Hello. I have been following your content for half a year now and developing with you. I want to join your community, but how can I pay for your subscription from Russia if our card does not work? Can you help with this?
Hey everyone, I’ve completed the Ai image generator build today and everything works fine on my local host - even after deploying azure functions. However, when I deploy to vercel - production, my site doesn’t seem to able to get new suggestions or images?? It’s literally stuck on the same suggestion and same set of images post deployment. Did anyone experience this? How did you solve it? Thanks
@@AbhishekSharma-wq6eu @jasonelechi9149 add this line on top of every class/file EXCEPT those in the 'azure' folder that calls the fetch() function: export const dynamic = 'force-dynamic';
I got this error how to resolve ai-image-generotor-ms\azure> npm start > azure@1.0.0 start > func start 'func' is not recognized as an internal or external command, operable program or batch file.
Thank you so much! I follow the video but I get stuck on the openai part(1:35:19). I got Error 429 and I tried all my 4 google accounts to get the openai key. I double checked each of them but it just didn't work. I'm sure my codes are the same as the github repo. Could you give me some suggestions? Thanks :)
Try a new email address with a new phone number attached to it. A different email id attached with a same phone number may not work. For example try your friends email or try a different email which is connected to a different phone number you have
Sonny I love your projects but actually thing is that I was making News app and I error has came out and I sticked my mean that plz give me news repo access like this project ❤❤❤
Great project but i gave up because Microsoft is such a problem with signing in. I entered in my password correctly. I know I did because i use it for all other google cloud functions but Microsoft keeps telling me its a wrong password. Its NOT! They need to fix issues like this before i ever use Microsoft again. Back in the day i had the same problem with xbox live and so i canceled that and it looks like they have not learned from it.
Hey @SonnySangha so I followed the tutorial and everything works perfectly in local environment but when I pushed it using vercel --prod, the app gets deployed and Use Suggestion and Generate buttons seem to be working but New Suggestion, Refresh Images, and the fetching of new images is not working!! It's as if the images displayed only get run on deployment and not update after that! HELP !!
Executed 'Functions.getChatGPTSuggestion' (Failed, Id=f16713f2-0df1-4090-b379-2f4bded07c5b, Duration=303ms) [2023-04-02T19:22:50.820Z] System.Private.CoreLib: Exception while executing function: Functions.getChatGPTSuggestion. System.Private.CoreLib: Result: Failure Exception: Request failed with status code 401 Stack: Error: Request failed with status code 401 at createError (G:\ai-image-generator ode_modules\axios\lib\core\createError.js:16:15) at settle (G:\ai-image-generator ode_modules\axios\lib\core\settle.js:17:12) at IncomingMessage.handleStreamEnd (G:\ai-image-generator ode_modules\axios\lib\adapters\http.js:322:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1359:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21).
UPDATE: For those still struggling with this. What I did was continue until Sonny deployed the functions to Azure. Once you replace the localhost:7071 endpoints with the deployed URL's for each function, the app should work. I also hid the deployed URLs by putting them in my .env.local file like so: `${process.env.IMG_GENERATE}` Hope this helps.
❗ Sign up to get the Code for FREE here (Form must be submitted, not skipped!) 👉 aka.ms/Sonny
Could you make a tutorial on making an online live auction webite like ebay, theirs basically no good videos on youtube about it
For those who are having issue with data not updating after refresh with the latest Next.js 13 version, add the following line on top of every class/file (EXCEPT those in the 'azure' folder) that has used 'fetched()':
export const dynamic = 'force-dynamic';
It worked. Thank you
Your vibe and energy its just awesome when ever i start building your projects i can sit for hours without burnout .Your explanation to concepts is awesome.
I must say that I found this tutorial quite challenging compared to others on this channel. While I was able to complete other projects without any problems, I struggled to repeat the code provided in this tutorial, but can't handle even with repository.
I can't seem to fix a problem with getting a 200 error from the chatgpt suggestion, even when I copy code from the repo to find what i could've messed up
That intro music just sets the environment a different vibe. Thank you for this.
OMG! Couldn't believe how amazing of this build ! Sonny x azure is incredible joint venture !
the tutorial is fun ,Joyful and worth every minute to learn from. Only here we can find such meaningful learning material !!! #PAPAFAM !
Another thumbs up with respect to debugging Microsoft Azure blob storage👍👍
Thanks
I am a very old fart who knows nothing about coding but Listening to you inspires me to learn how to turn the dam computer on by myself.. You rock
Alan from Christchurch new Zealand
That’s awesome thank you for sharing & supporting Alan!!
Thumbs up with respect to showing things visually.👍👍👍
Sonny, hi, please turn on the subtitles, I'm from another country watching your cool videos, I'll be grateful
pretty cool, I'm having a better understanding of react, next.js and tailwindcss overall with these videos, much more personal than other videos which assume you already know a bunch of stuff.
I am a member of the PAPA-Github-Repo but don't see this on the site? Is this repo not available?
Such notification many playfulness so fantastic
We need more Microsoft stuff, Sonny! Great job as always!
MS SUCK!
You nailed it fam
Hi Sonny! Your videos are awesome! I started using typescript, and I remember that, you mentioned a trick how can you see the type of something in visual studio code, but I forgot the key combination. What was it?😀
Already thumbs up and I've only watched 21 minutes👍👍
Wow, such a great tutorial. Just found your channel a couple of weeks ago and already did 2 tutorials, I am becoming a big fan of the #PAPAFAM. Sonny, just a question, the server JASONkeeper where you had some APIs seems to be down for a couple of weeks now. Could you upload the APIs for Airbnb 2.0 somewhere else? I was so close to finishing it when the server got offline. I am grateful for your ability to share knowledge! Keep up the great work. THANK YOU
Thank you so much!!! Ill take a look at that when I get a chance dude! #PAPAFAM
congrats you really deserve it
Amazing stream 😊😊
sir, i have a queshtion sir 🤓 Where do we use the generateSASToken azure function endpoint? I cant recall.
that part with generate image and download it does not work for me
RESPECT FOR ALLL EXPLAANES!
THANK YOU.
does someone else receive a fetch error when console.log(suggestion) on 1:37:44
yes i do.
Did you resolve this issue??
@@siddharthgautam6081 No. I started the project all over again, but apparently when I try to access my local endpoint localhost:3000/api/suggestion it doesn't work at all even after restart
@@mandarliev yeahh....but in sonny video I don't know how did the error is not popping...
@@siddharthgautam6081 At first it worked for me too and the site was accessible. However after sometime I couldn't reach it. I think it has something to do with api routes in nextjs 13.2
mister, do more azure builds, pls mister 🥺
Hello. I have been following your content for half a year now and developing with you. I want to join your community, but how can I pay for your subscription from Russia if our card does not work? Can you help with this?
Hey! Email us at support@papareact.com and we'll help you out with that - we accept crypto too!
Hey everyone, I’ve completed the Ai image generator build today and everything works fine on my local host - even after deploying azure functions. However, when I deploy to vercel - production, my site doesn’t seem to able to get new suggestions or images?? It’s literally stuck on the same suggestion and same set of images post deployment. Did anyone experience this? How did you solve it? Thanks
did you find the solution!?
@@AbhishekSharma-wq6eu @jasonelechi9149 add this line on top of every class/file EXCEPT those in the 'azure' folder that calls the fetch() function:
export const dynamic = 'force-dynamic';
See my other comment
at 1:35:00 i'm getting the same error, ie. error 429, i've even tried changing my api key and organization, but still the same issue persists🙂
Hi, how can I run
this code?
I got this error how to resolve
ai-image-generotor-ms\azure> npm start
> azure@1.0.0 start
> func start
'func' is not recognized as an internal or external command,
operable program or batch file.
I did it. thanks ❤
Thank you so much! I follow the video but I get stuck on the openai part(1:35:19). I got Error 429 and I tried all my 4 google accounts to get the openai key. I double checked each of them but it just didn't work. I'm sure my codes are the same as the github repo. Could you give me some suggestions? Thanks :)
Try a new email address with a new phone number attached to it. A different email id attached with a same phone number may not work. For example try your friends email or try a different email which is connected to a different phone number you have
azure is being picky about the type of credit card/ debit card I'm using even though its a free account and not going to be charged anyway...🤦
Sonny I love your projects but actually thing is that I was making News app and I error has came out and I sticked my mean that plz give me news repo access like this project ❤❤❤
use client not working can you help me
Timestamps?
Coming!
hello
hELLO
Why did this gobble up my £200 free credit? Now I cant continue! I got so far as well. Very disappointed
Often times it’s because your free credit tokens are expired. Just add a payment method and you’re good to go.
35:20
Repy
Great project but i gave up because Microsoft is such a problem with signing in. I entered in my password correctly. I know I did because i use it for all other google cloud functions but Microsoft keeps telling me its a wrong password. Its NOT! They need to fix issues like this before i ever use Microsoft again. Back in the day i had the same problem with xbox live and so i canceled that and it looks like they have not learned from it.
If your password is wrong, it's wrong. Stop blaming Microsoft for your own doings.
Hey @SonnySangha
so I followed the tutorial and everything works perfectly in local environment but when I pushed it using vercel --prod, the app gets deployed and Use Suggestion and Generate buttons seem to be working but New Suggestion, Refresh Images, and the fetching of new images is not working!! It's as if the images displayed only get run on deployment and not update after that! HELP !!
Hey, did you manage to figure the issue out? I seem to be having the same problem
hey were you able to sort this out?
@SonnySangha
found the solution!?
Executed 'Functions.getChatGPTSuggestion' (Failed, Id=f16713f2-0df1-4090-b379-2f4bded07c5b, Duration=303ms)
[2023-04-02T19:22:50.820Z] System.Private.CoreLib: Exception while executing function: Functions.getChatGPTSuggestion. System.Private.CoreLib: Result: Failure
Exception: Request failed with status code 401
Stack: Error: Request failed with status code 401
at createError (G:\ai-image-generator
ode_modules\axios\lib\core\createError.js:16:15)
at settle (G:\ai-image-generator
ode_modules\axios\lib\core\settle.js:17:12)
at IncomingMessage.handleStreamEnd (G:\ai-image-generator
ode_modules\axios\lib\adapters\http.js:322:11)
at IncomingMessage.emit (node:events:525:35)
at endReadableNT (node:internal/streams/readable:1359:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21).
I also got this error. unable to find method to solve it
same error
@@factshubonly did you solve
have you found a solution?
Anyone getting this error while trying console.log(suggestion)
error - TypeError: fetch failed
at Object.fetch (node:internal/deps/undici/undici:11404:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
cause: Error: connect ECONNREFUSED ::1:7071
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16)
at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
errno: -4078,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '::1',
port: 7071
}
}
Yes, I almost spent my whole day searching for a solution but didn't get it...🙂 If anyone has overcome this error please reply...
Yes. spent the day trying to solve it. did u find a solution?
Stuck here. I'm able to call the Azure endpoint just fine in the browser, but the fetch function gives the error - TypeError: fetch failed.
UPDATE: For those still struggling with this. What I did was continue until Sonny deployed the functions to Azure. Once you replace the localhost:7071 endpoints with the deployed URL's for each function, the app should work. I also hid the deployed URLs by putting them in my .env.local file like so: `${process.env.IMG_GENERATE}` Hope this helps.
@@robertodelgado1234 i will try. Thank u so much for sharing
Hello