-
Notifications
You must be signed in to change notification settings - Fork 86
v3.4.1 breaks netlify nextjs build #387
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
Comments
Same here |
on it. about to revert to 3.3.1. that said, i'm unable to reproduce this for myself. can anyone provide a repo that reproduces the issue? 🙏 |
Can't provide you a repo but a static app with |
ok i'll try to create reproducible env |
Here is an issue with the problem and a workaround + reproducible repository |
hello! thank you all. i believe we've diagnosed the issue, and that it's not actually related to the basePath work as @antho1404 suspected yesterday in 3.4.0. at the moment we believe it's somewhere in here that is causing builds to fail without a config file: #343 (but an empty config even resolves the issue). we will keep you updated, thanks a bunch again!!! 🙏 |
@antho1404 can you try 3.4.2 in prod/netlify for me please? it resolved my issue but wanna be sure youre seeing it too before i default the plugin version to 3.4.2 after 2 other breaking releases. just install |
or anyone else! |
Here is the result of my tests: It did not work with this fix. // next.config.js
module.exports = {
basePath: '',
} I had to remove my If I keep it, my logs in local with
For information, I tested as well on Everything works fine without the |
this is an intentional error. this is the previous behavior we used (since the plugin was born) for existing next.config.js users. all any user has to do in this case is add the target property to their existing next.config.js to proceed. if no next config exists, then the plugin makes it for you. we do not try to change your existing next.config.js for you. but, in 3.4.0, we tried to force the target, and we believe this is/was the source of unbuilt projects in netlify production in 3.4.0 and 3.4.1. |
3.4.2 works for me. thanks! |
Works fine for me as well. Thanks for the time to fix this :) |
Describe the bug
v3.4.1 breaks my site deployment, while v3.3.1 works
To Reproduce
Deploying the same commit:
v3.3.1 behavior (from netlify deploy logs)
v3.4.1
Versions
If you're using file-based installation
The text was updated successfully, but these errors were encountered: