Skip to content
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

undefined undefined error #31

Open
beingabstrac opened this issue Jul 6, 2020 · 5 comments
Open

undefined undefined error #31

beingabstrac opened this issue Jul 6, 2020 · 5 comments

Comments

@beingabstrac
Copy link

beingabstrac commented Jul 6, 2020

I've problem transforming and sourcing back from cloudinary.
I've raised a ticket here. The problem is not yet solved.
Do help me out. Thanks.

image

@amcc
Copy link

amcc commented Jul 10, 2020

I've also seen this - uploading around 11000 image it sometime appears. Throttling gatsby with this seemed to help - but i don't know if its a co-incidence it seemed to come and go: GATSBY_CONCURRENT_DOWNLOAD=100

@Chuloo
Copy link
Collaborator

Chuloo commented Jul 11, 2020

@beingabstrac could you share your gatsby-config.js setup for gatsby-transformer-cloudinary also, what is the max size of a single image you're working with?

@amcc
Copy link

amcc commented Jul 11, 2020

{
      resolve: "gatsby-transformer-cloudinary",
      options: {
        cloudName: process.env.CLOUDINARY_CLOUD_NAME,
        apiKey: process.env.CLOUDINARY_API_KEY,
        apiSecret: process.env.CLOUDINARY_API_SECRET,
        uploadFolder: "gatsby-cloudinary",
        breakpointsMaxImages: 3,
        createDerived: false,
      },
    },

our image sizes vary - but we're doing this:

const MAX_FILE_SIZE = 80000000

if (mediaSource.size > MAX_FILE_SIZE) {
                  reporter.warn(`File too big ${imageUrl}`)
                  return false
                }

we haven't seen the error in some time now

@beingabstrac
Copy link
Author

beingabstrac commented Jul 12, 2020

@beingabstrac could you share your gatsby-config.js setup for gatsby-transformer-cloudinary also, what is the max size of a single image you're working with?

@Chuloo

image

average file size of ~1,300 would be around ~100kb
using imageoptim to compress images!

@Chuloo
Copy link
Collaborator

Chuloo commented Jan 26, 2021

Hi @beingabstrac been a while, circling back to this. Is this issue still prevalent?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants