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

elecron开发,主进程引入test-offline-tts-zh.js,报错'./vits-icefall-zh-aishell3/phone.fst' does not exist文件找不到 #1600

Open
nickchainnb opened this issue Dec 6, 2024 · 3 comments

Comments

@nickchainnb
Copy link

elecron开发,引用nodejs-examples 离线tts,test-offline-tts-zh.js, 在主进程中引入,报错'./vits-icefall-zh-aishell3/phone.fst' does not exist文件找不到
微信图片_20241206154525
微信图片_20241206154536

@csukuangfj
Copy link
Collaborator

如果你不会调试,不会相对路径,建议你使用绝对路径。

@nickchainnb
Copy link
Author

找到问题了,确实是相对路径问题,用了绝对路径

@csukuangfj
Copy link
Collaborator

你可以把当前目录打印出来,看是相对哪个目录

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

2 participants