-
Notifications
You must be signed in to change notification settings - Fork 394
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
ERROR [I18nService] parsing translation error in 10.3.2 #2558
Comments
Please provide a minimum reproduction repository. You can start one by running why reproductions are required |
further investigation shows breaking change was introduced in |
narrowed it down to: git clone it will fail git clone it will work |
may be a red herring but it has something to do with nest-cli.json |
that is possible. it worked till 10.1.18 - no issues tho if I use the default nest-cli.json so something around those options must be causing the problem |
yeah, now I got that error
|
but it looks like to be related with unless you manage to find a working version of |
just found this: toonvanstrijp/nestjs-i18n#96 isn't the same thing? |
tried out. no luck |
to recap, it works when you have that |
to recap: starting in version 10.2.0 following nest-cli.json fails on windows
|
Duplicate of #2429 |
Is there an existing issue for this?
Current behavior
after updating to 10.3.2 our project fails to process translation files which worked all the way up until now.
Minimum reproduction code
https://github.com/nestjs/nest-cli/
Steps to reproduce
our repo is private
steps to repro
npm install
npm run start:dev
Expected behavior
works as last week but it fails
[Nest] 50208 - 03/26/2024, 4:27:27 PM ERROR [I18nService] parsing translation error
[Nest] 50208 - 03/26/2024, 4:27:27 PM ERROR [I18nService] Error: ENOENT: no such file or directory, stat 'xxxxxxxxxxxx\src\backend\dist\i18n'
[Nest] 50208 - 03/26/2024, 4:27:27 PM ERROR [I18nService] parsing translation error
[Nest] 50208 - 03/26/2024, 4:27:27 PM ERROR [I18nService] Error: ENOENT: no such file or directory, scandir 'xxxxxxxxxxxx\src\backend\dist\i18n'
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
Error: ENOENT: no such file or directory, stat 'xxxxxxxxxxxx\src\backend\dist\i18n'
Package version
10.3.2
NestJS version
10.3.4
Node.js version
18.19.1
In which operating systems have you tested?
Other
No response
The text was updated successfully, but these errors were encountered: