Skip to content
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

[Question] lobe-i18n - ERROR Can't find config #156

Closed
shinshin86 opened this issue Nov 29, 2024 · 4 comments
Closed

[Question] lobe-i18n - ERROR Can't find config #156

shinshin86 opened this issue Nov 29, 2024 · 4 comments
Labels
😇 Help Wanted Need help | 需要帮助

Comments

@shinshin86
Copy link
Contributor

🧐 问题描述 | Proposed Solution

I followed the instructions in the README and ran the following commands:

npm install --save-dev @lobehub/i18n-cli
npx lobe-i18n --option
npx lobe-i18n locale

OpenAI token is set
lobe-i18n_openai_token

However, when I executed npx lobe-i18n locale, I encountered the following error:

ERROR  Can't find config

Am I missing any additional configuration? Based on the README, I expected it to work with these steps, but if there’s anything else required, could you please let me know?

📝 补充信息 | Additional Information

No response

@shinshin86 shinshin86 added the 😇 Help Wanted Need help | 需要帮助 label Nov 29, 2024
@lobehubbot
Copy link
Member

👀 @shinshin86

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@canisminor1990
Copy link
Member

https://github.com/lobehub/lobe-cli-toolbox/blob/master/packages/lobe-i18n/README.md#configuration

@shinshin86
Copy link
Contributor Author

@canisminor1990 Thank you for your response!

It seems I had overlooked the need to prepare a configuration file, but your advice helped me realize this.
Thanks to you, I was able to get everything up and running successfully and take the first step in utilizing lobe-i18n.

Thank you so much!

(This issue has been resolved, so I will close it.)

@lobehubbot
Copy link
Member

@shinshin86

This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
😇 Help Wanted Need help | 需要帮助
Projects
None yet
Development

No branches or pull requests

3 participants