-
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
[canary] broken production build for static pages inside Docker #196
Comments
Got the same error when I compile on my production server |
I'm bumping into this same issue on my workstation without Docker with the following output:
I am on Next.js 9.5.3, next-optimized-images 3.0.0-canary.10 and Node 12.16.1. |
@naavis try to delete .next and node_modules and do an npm install again and see if it solves your problem. It did for me. However, my problem is the memory hog that this plugin is. My npm build always fails on my 2G RAM VPS with just 4 images. Works fine on my laptop though. :( |
@semyou That unfortunately did not fix the problem. I am resizing about 200 pictures during the build. The originals only total 128 megabytes, though, and I'm running with 16GB of RAM. |
Any news about this one ? I cannot build on vercel anymore. Working fine on local machine |
Try this: #186 (comment) |
When I try build the project in Ubuntu 18.04 it's okay. There are only warnings about MaxListeners.
But inside the Docker build is failed.
Related packages versions
Tested docker versions:
next build
output fromdocker build
:The text was updated successfully, but these errors were encountered: