Closed andrewgadziksonos closed 3 years ago
Same here +1
Adding config to serverSideTranslations fixed it for me.
...(await serverSideTranslations(locale, ['common'], nextI18NextConfig)),
Originally posted by @crathert in https://github.com/isaachinman/next-i18next/issues/990#issuecomment-943438144
I'm using NextJS v12 and getting this error, Can't resolve 'webpack'
I resolved it by setting outputStandalone
to false
.
/* next.config.js */
module.exports = {
experimental: {
outputStandalone: false,
},
};
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Before opening, please confirm:
App Id
d1i7qtt97aq61n
Region
us-east-2
Amplify Console feature
Logging
Describe the bug
My NextJS application fails to build without any additional information. The build logs contain the following,
Expected behavior
I would expect to see detailed error messaging around why the build is failing
Reproduction steps
Build Settings
Additional information
I tried using
NODE_OPTIONS=--max-old-space-size=5120
but this didnt resolve the issueI followed along here as well
1853
1874
1882