You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello!
Mb someone faced with integration of i18next on backend side while developing api with sst. Translation files couldn't copy to artifacts, as results can't work with i18n on backend.
[Error: ENOENT: no such file or directory, open '/Users/user/projects/project/my-sst-app/.sst/artifacts/c825b0670a4bb91e87d5f900b7f0b617d0e1374668/packages/functions/src/i18n/locales/en/pdf.json'] {
| +227ms errno: -2,
| +227ms code: 'ENOENT',
| +227ms syscall: 'open',
| +227ms path: '/Users/user/projects/project/my-sst-app/.sst/artifacts/c825b0670a4bb91e87d5f900b7f0b617d0e1374668/packages/functions/src/i18n/locales/en/pdf.json'
| +227ms },
Hello!
Mb someone faced with integration of i18next on backend side while developing api with sst. Translation files couldn't copy to artifacts, as results can't work with i18n on backend.
folder structure:
/ packages / functions / src / i18n / locales/ en / common.json
i18nInit() did in several places, in / stack / MyStack when api loads and tried many places. No way.
I use pnpm for running my project
Will be glad for any kind of advice.
My server env: MAC OS Sonoma, node v18.15.0, pnpm as package manager.
Project written on typescript.
The text was updated successfully, but these errors were encountered: