Skip to content

[FEATURE] Extend errormessage 'Cannot find i18n directory' with directory searched #612

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

Open
mcm1957 opened this issue Mar 6, 2025 · 0 comments

Comments

@mcm1957
Copy link

mcm1957 commented Mar 6, 2025

If there is some problem (eiterh coding error or some problem with installation which causes the i18n directory not to be found it would be helpful if the error message not only states
Cannot find i18n directory
but also states the directy it is lokking for, i.e.
Cannot find i18n directory iobroker.shrdzm/build/i18

2025-03-06 20:10:52.311  - info: shrdzm.0 (5868) starting. Version 0.0.1-alpha.1 in C:/GitHub/mcm4iob/ioBroker.shrdzm/.dev-server/default/node_modules/iobroker.shrdzm, node: v20.18.0, js-controller: 7.0.6
2025-03-06 20:10:52.345  - error: shrdzm.0 (5868) Unhandled promise rejection. 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().
2025-03-06 20:10:52.347  - error: shrdzm.0 (5868) unhandled promise rejection: Cannot find i18n directory
2025-03-06 20:10:52.349  - error: shrdzm.0 (5868) Error: Cannot find i18n directory
    at Object.init (C:\GitHub\mcm4iob\ioBroker.shrdzm\node_modules\@iobroker\adapter-core\build\cjs\i18n.js:48:11)
    at async Shrdzm.onReady (C:\GitHub\mcm4iob\ioBroker.shrdzm\build\main.js:137:5)
2025-03-06 20:10:52.351  - error: shrdzm.0 (5868) Cannot find i18n directory
2025-03-06 20:10:52.356  - info: shrdzm.0 (5868) terminating
2025-03-06 20:10:52.360  - warn: shrdzm.0 (5868) Terminated (UNCAUGHT_EXCEPTION): Without reason
2025-03-06 20:10:52.877  - info: shrdzm.0 (5868) terminating
@mcm1957 mcm1957 changed the title [FEATURE] Extend errormessage 'Cannot find i18n directory' with directoy searched [FEATURE] Extend errormessage 'Cannot find i18n directory' with directory searched Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant