despossivel / rhubarb-lip-sync

Rhubarb Lip Sync is a powerful tool for creating 2D mouth animations from voice recordings. It analyzes audio files, recognizes speech, and automatically generates lip sync data. Ideal for animating speech in games, cartoons, and similar projects.
4 stars 0 forks source link

output.json Can't Be Found #1

Open James-Dunn opened 3 months ago

James-Dunn commented 3 months ago

I tried installing this and running on AWS App runner for node.js v18, but I get errors. Here's my node.js code:

app.post('/lipsync', upload.single('audio'), async (req, res) => { const lipSyncJson = await runCommands(req.file.buffer); res.json(lipSyncJson); });

Here's the error I get:

03-18-2024 08:44:54 PM INCIANDO PROCESSOS.... 03-18-2024 08:44:54 PM (node:1) Warning: Label 'default' already exists for console.time() 03-18-2024 08:44:54 PM Erro ao executar o comando: ENOENT: no such file or directory, open '/app/node_modules/rhubarb-lip-sync/.tools/output.json' 03-18-2024 08:44:54 PM Erro ao remover o arquivo de saída: ENOENT: no such file or directory, unlink '/app/node_modules/rhubarb-lip-sync/.tools/output_file.wav' 03-18-2024 08:44:54 PM Erro ao remover o arquivo JSON de saída: ENOENT: no such file or directory, unlink '/app/node_modules/rhubarb-lip-sync/.tools/output.json'

FoleyTim commented 3 months ago

I'm also getting a similar issue on my express server...

INCIANDO PROCESSOS.... Erro ao executar o comando: ENOENT: no such file or directory, open 'app/node_modules/rhubarb-lip-sync/.tools/output.json' Erro ao remover o arquivo JSON de saída: ENOENT: no such file or directory, unlink 'app/node_modules/rhubarb-lip-sync/.tools/output.json'