NextJS Upload to Google Cloud Storage

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 พ.ย. 2024

ความคิดเห็น • 18

  • @saharilarshad1628
    @saharilarshad1628 8 หลายเดือนก่อน

    updated video.. super cool. but i do a test on production, its give the error [Error]: Expected signal to be an instanceof AbortSignal. Even i try on npm run start after build, got the same error. Do you have any solution on it?

    • @scriptbytes
      @scriptbytes  8 หลายเดือนก่อน +3

      Very good catch, I did also get this when I ran it in a "production" docker container.
      The fix is to add this line into your next.config file:
      experimental: {
      serverMinification: false,
      },
      For some reason, that serverMinification is an experimental feature and turned on by default (which is...odd).
      Here is where I found the solution after some searching:
      github.com/vercel/next.js/issues/55682

    • @saharilarshad1628
      @saharilarshad1628 8 หลายเดือนก่อน

      Thanks.. its work.. waiting for next video..

  • @nofx4u
    @nofx4u 2 หลายเดือนก่อน

    you greatly helped me with my project too. Thank you so much for spending the time to make this content. I owe you.

  • @marcosdayanmann3575
    @marcosdayanmann3575 5 หลายเดือนก่อน

    Thank you so much! Helped me a lot. Your videos are amazing

    • @scriptbytes
      @scriptbytes  4 หลายเดือนก่อน

      Happy to help!

  • @RakeshYadav-sp4tp
    @RakeshYadav-sp4tp 7 หลายเดือนก่อน

    Thanks... keep uploading new videos

  • @HarshitBhutani-u1u
    @HarshitBhutani-u1u 4 หลายเดือนก่อน

    nice explanation!

  • @soorajkj1564
    @soorajkj1564 3 หลายเดือนก่อน

    Even if the file is too large it will work fine on your localhost but in production it will definitely break. I got this error on my production build and it’s still not fixed. Still trying to figure it out with api routes do you have any idea?

    • @scriptbytes
      @scriptbytes  3 หลายเดือนก่อน

      You probably want to look into using Put SignedUrls. I’ve used those for large file uploads before and they work well

  • @AjaySingh-jz8qx
    @AjaySingh-jz8qx 2 หลายเดือนก่อน

    Nice please do next js file upload with aws s3

  • @HarshitBhutani-u1u
    @HarshitBhutani-u1u 4 หลายเดือนก่อน

    worked for me!

  • @datasciencetoday7127
    @datasciencetoday7127 8 หลายเดือนก่อน

    yeah that's a good example you showed us how to do it when we are using the app on our laptop. Because who needs to deploy any appilication right?

    • @scriptbytes
      @scriptbytes  8 หลายเดือนก่อน

      What else would you like to know for it to be deployed?

    • @C3drix
      @C3drix 8 หลายเดือนก่อน +2

      I don't fully understand your point. My application is published on Vercel, and I solely utilize GCP Storage for storage purposes. Thus, this setup can be implemented even if the application is not running on a laptops.

    • @alir8zana635
      @alir8zana635 8 หลายเดือนก่อน

      for the great value you are getting why be so rude ?

    • @s-wind2398
      @s-wind2398 29 วันที่ผ่านมา

      @@C3drix how about keys? locally you're logged in to your google account how Vercel knows about it?