homarr icon indicating copy to clipboard operation
homarr copied to clipboard

dependency conflict between the versions of i18next and next-i18next

Open vishalkadam47 opened this issue 1 year ago • 3 comments

Environment

NodeJS

Version

0.14.4

Describe the problem

dependency conflict between the versions of i18next and next-i18next

Logs

2024-01-26T10_36_29_100Z-eresolve-report.txt

Context

No response

Please tick the boxes

  • [X] I confirm that I attached the proper logs
  • [X] I've read the docs
  • [X] I've checked for duplicate issues
  • [X] I've tried to debug myself

vishalkadam47 avatar Jan 26 '24 11:01 vishalkadam47

  • after fixing the version manually
"i18next": "^23.4.6",
"react-i18next": "^13.2.1",
  • I get Type error: Property 'placeholder' is missing in ./src/components/Manage/User/Invite/create-invite.modal.tsx
<DateTimePicker
        placeholder=""
        popoverProps={{ withinPortal: true }}
  • after this fix I get Type error: Property 'reportNamespaces' does not exist on type 'i18n'. this I'm not able to fix
./src/pages/manage/about.tsx:53:13
Type error: Property 'reportNamespaces' does not exist on type 'i18n'.

  51 |   let items: InformationTableItem[] = [];
  52 | 
> 53 |   if (i18n?.reportNamespaces) {
     |             ^
  54 |     const usedI18nNamespaces = i18n.reportNamespaces.getUsedNamespaces();
  55 |     const initOptions = i18n.options as ExtendedInitOptions;

vishalkadam47 avatar Jan 26 '24 14:01 vishalkadam47

When using the from source installation, we expect that you manage dependencies and breaking changes yourself. We are unable to provide support for each system and dependency version due to the amount of requests that we get daily. I'd strongly suggest you to use one of the recommended installation methods, like https://homarr.dev/docs/getting-started/installation#-docker-compose . The drawbacks are also documented here: https://homarr.dev/docs/getting-started/installation#not-recommended-from-source . If you want to live on the edge you can also use the dev image for the unstable release channel. This way, you'll receive updates faster but they might break your installation or be unstable. Use at your own risk.

Thank you for your understanding.

manuel-rw avatar Feb 10 '24 21:02 manuel-rw

Thanks for the information this would be helpful, I'll have a look

vishalkadam47 avatar Feb 11 '24 05:02 vishalkadam47