Closed sergiuturus closed 2 years ago
I have the same issue, change to yarn or pnpm still have this problem. plz check
Hi Guys, this issue is already fixed here https://github.com/NarHakobyan/awesome-nest-boilerplate/pull/277 :)
I also have the same issue. After I checked PR, I still see PR 277 not merged yet
yeah, I'll try to do my best just to fix all the issues and merge. :)
I'm getting the same error. Is there an expected timeline for #277?
yes, today everything will be done and merged :)
hi team, facing the same error, hopefully we will have this PR merged today
Hi folks, I've updated main branch, please take a look and if you will catch any kind of bug please ping me here :)
hi @NarHakobyan, thanks for the fix, now another error happens, it's reported on March: https://github.com/NarHakobyan/awesome-nest-boilerplate/issues/273
any idea?
@ikhanhmai could you please send some reproduction steps?
sure @NarHakobyan steps to reproduce:
now got the error: TypeError: Cannot read properties of undefined (reading 'split') at I18nService.translateObject (D:\awesome-nest-boilerplate\node_modules\nestjs-i18n\src\services\i18n.service.ts:128:22) at I18nService.translate (D:\awesome-nest-boilerplate\node_modules\nestjs-i18n\src\services\i18n.service.ts:62:36) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async AllExceptionsFilter.catch (D:\awesome-nest-boilerplate\src\filters\all-exceptions.filter.ts:22:15)
current workaround:
add try catch block to filters/all-exceptions.filter.ts
try { message = await this.i18n.translate(message.key, { lang: ctx.getRequest().i18nLang, args: message.args, }); } catch (e) {}
thanks, all-exceptions.filter.ts filter file was experimental, so it needs to be removed. I've deleted it from main repo.
Encountered a bunch of errors related to nestjs-i18n package after cloning the repo, created the .env, ran npm install and npm run start:dev
Tried to remove the package but received other errors. Current node version v14.17,0