-
Notifications
You must be signed in to change notification settings - Fork 91
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
TypeError: unsupported file type: undefined (file: undefined) #284
Comments
I'm facing exactly the same problem |
I used the |
I also encounted this error. I'm using const nextConfig = {
...
images : {
disableStaticImages: true,
}
...
} |
I updated from next@10 to next@12 and ran into this. @abbasEbadian 's fix did silence the error but broke all images. @hannah26hannah 's fix on the other-hand worked. Cheers! |
It worked! |
error - ./public/logo/amc.png
TypeError: unsupported file type: undefined (file: undefined)
This is my next.config.js
I am using imagemin-optipng for optimization
I am building a static site with nextjs
The text was updated successfully, but these errors were encountered: