Skip to content

checking vercel deploy#1

Open
kunalborkar2001 wants to merge 1 commit into
getFrontend:mainfrom
kunalborkar2001:skip-packaging-option
Open

checking vercel deploy#1
kunalborkar2001 wants to merge 1 commit into
getFrontend:mainfrom
kunalborkar2001:skip-packaging-option

Conversation

@kunalborkar2001
Copy link
Copy Markdown

Have you noticed after changing mongoDb url from local to compass url the error comes like

TypeError: Cannot read properties of undefined (reading 'image')

@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 15, 2024

@kunalborkar2001 is attempting to deploy a commit to the Sergey's projects Team on Vercel.

A member of the Team first needs to authorize it.

@getFrontend
Copy link
Copy Markdown
Owner

You need to check how it is configured to receive user's avatar:

    remotePatterns: [
      {
        protocol: 'https',
        hostname: 'lh3.googleusercontent.com',
        pathname: '**',
      },

@kunalborkar2001
Copy link
Copy Markdown
Author

kunalborkar2001 commented Feb 16, 2024

/** @type {import('next').NextConfig} */
const nextConfig = {
experimental: {
serverComponentsExternalPackages: ["mongoose"],
missingSuspenseWithCSRBailout: false
},
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'lh3.googleusercontent.com',
pathname: '**',
},
]
},
webpack(config) {
config.experiments = {
...config.experiments,
topLevelAwait: true,
}
return config
}
}

export default nextConfig;

this is how it looks for me

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants