Add TTS for node-addon-api (#871)

This commit is contained in:
Fangjun Kuang
2024-05-13 19:24:09 +08:00
committed by GitHub
parent 740d7ae9d6
commit 031134b4d4
21 changed files with 691 additions and 10 deletions

View File

@@ -25,8 +25,8 @@ for (const p of possible_paths) {
}
if (!found) {
let msg =
`Could not find sherpa-onnx. Tried\n\n ${possible_paths.join('\n ')}\n`
let msg = `Could not find sherpa-onnx-node. Tried\n\n ${
possible_paths.join('\n ')}\n`
if (os.platform() == 'darwin' && process.env.DYLD_LIBRARY_PATH &&
!process.env.DYLD_LIBRARY_PATH.includes(
`node_modules/sherpa-onnx-${platform_arch}`)) {