-
Notifications
You must be signed in to change notification settings - Fork 86
Error: next-i18next was unable to find a user config - build ok #595
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
oh… Even when I put, the line bellow at
|
Maybe it is related with: #223 |
@tgmarinho hey! i think it is definitely the same issue as #223. are you using
if you cant figure it out with these suggestions, providing a repo that i could fiddle with myself would probably be our best bet for guaranteeing it works smoothly. let me know! |
Hey @lindsaylevine thank you, I tried this:
And I'm getting this error: The app is big, I don't know right now if some code is breaking the rules of the hooks (I have eslint rules to prevent this), localhost is working and Heroku also, netlify not yet. |
hey! remove |
@lindsaylevine I removed this, keeping this way:
But not work yet. I'll remove
|
I received this suggestion from the log:
|
what about if you remove |
🚀🙏❤️🙏💻🧑🚀🧑💻🥳🎈🎉🎊🎊🎊🎉🎉🎉🎈💃💃💃🥳🥳🥳🙏 Finally, it works @lindsaylevine thank you for your support!
|
yay!!!!! let us know if you run into any other issues! |
I also experience this error message and have no clue at all what to do... 4:09:56 PM: info - Collecting page data...
4:10:00 PM: info - Generating static pages (0/11)
4:10:00 PM: info - Generating static pages (2/11)
4:10:00 PM: info - Generating static pages (5/11)
4:10:00 PM: Unhandled error during request: Error: Cannot find module '/opt/build/repo/next-i18next.config.js'
4:10:00 PM: at webpackEmptyContext (/opt/build/repo/.next/serverless/pages/index.js:11:10)
4:10:00 PM: at /opt/build/repo/.next/serverless/chunks/16.js:22811:72 {
4:10:00 PM: code: 'MODULE_NOT_FOUND'
4:10:00 PM: } and this suggested configuration does not change anything build]
command = "npm run build"
publish = "out"
[[plugins]]
package = "@netlify/plugin-nextjs"
[functions]
included_files = ["public/locales/en/*.json", "public/locales/de/*.json", "/var/task/next-i18next.config.js"] |
Build on Netlify is ok, but I'm getting this error when I try to access the link of the project:
Build Log:
next.config.js:
next-i18next.config.js
Versions
If you're using the CLI to build
If you're using file-based installation
The text was updated successfully, but these errors were encountered: