-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
You may need an additional loader to handle the result of these loaders. #13
Comments
Thanks to report it @burakkgunduzz, would you create a reproducible repo about this issue to take a look what is happening? Thanks a lot! |
Hey @aralroca thanks for your attention! I will try to create in a day or two hopefully. |
Hi @aralroca, I reproduced the error. You can clone this repo => https://github.com/burakkgunduzz/next-translate-with-libs if I
On the other hand, I was not able to fix my problem in my original repo by swicthing the position of nextTranslate in next.config. It runs development server but still throws error when try to build. I am sharing my next.config.js below.
|
PS: when I remove imports from lib in my example repo, everything works correctly again. Wondering, if it is related with libs and monorepo structure? Further investigating. |
Seems like a breaking change in next.js and it affected nx. I am giving some links for further info. Please take a look and close this issue if you are sure that this bug is not related with next-translate-plugin. @aralroca |
I was able to successfully build my apps after upgrading to latest nx version and exporting my next.config as
for further info nrwl/nx#15794 |
What version of this package are you using?
"next-translate-plugin": "^2.0.2"
What operating system, Node.js, and npm version?
v18.15.0
What happened?
after I upgraded next-translate and added next-translate-plugin my builds started to fail. Everything works correctly in development server but I am not able to build my app. I am using nx monorepo and all the stack trace and errors points to my lib folders interestingly. Everything was working before with next v12.1.5 and next-translate v1.4.0
What did you expect to happen?
It should of work.
Are you willing to submit a pull request to fix this bug?
No
**Stack Trace
if I downgrade next version to 13.1.1 (from v13.2.4)then I get the below error
The text was updated successfully, but these errors were encountered: