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

TypeError after updating Next and next-optimized-images #143

Closed
kolyasapphire opened this issue Apr 7, 2020 · 1 comment
Closed

TypeError after updating Next and next-optimized-images #143

kolyasapphire opened this issue Apr 7, 2020 · 1 comment

Comments

@kolyasapphire
Copy link

Hi!

After updating Next and next-optimized-images to latest versions code:

require('../../public/imgs/background/1.jpg?webp')

No longer works, throwing:

TypeError: Mime is not a constructor

Any idea what might be causing it? Thanks in advance!

Next.js: 9.3.4
next-optimized-images 2.5.7

responsive-loader: 1.2.0
sharp: 0.25.2
webp-loader: 0.6.0
imagemin-mozjpeg: 8.0.0
imagemin-optipng: 7.1.0
imagemin-svgo: 7.1.0

@kolyasapphire
Copy link
Author

Must be broken sync - this error is no longer present after rebuilding .next and npm modules.

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

No branches or pull requests

1 participant