WAppAI / assistant

A WhatsApp chatbot that leverages Bing AI's and others LLMs conversational capabilities.
MIT License
87 stars 27 forks source link

Error starting Sydney #171

Closed solution01 closed 10 months ago

solution01 commented 10 months ago

file:///sydney-whatsapp-chatbot/src/handlers/audio-transcription.ts:10 1|sydneybot | import { randomUUID } from "crypto"; 1|sydneybot | ^^^^^^^^^^ 1|sydneybot | SyntaxError: The requested module 'crypto' does not provide an export named 'randomUUID' 1|sydneybot | at ModuleJob._instantiate (internal/modules/esm/module_job.js:98:21) 1|sydneybot | at async ModuleJob.run (internal/modules/esm/module_job.js:143:5) 1|sydneybot | at async Loader.import (internal/modules/esm/loader.js:165:24) 1|sydneybot | at async Object.loadESM (internal/process/esm_loader.js:68:5) 1|sydneybot | error Command failed with exit code 1. 1|sydneybot | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. 1|sydneybot | [nodemon] app crashed - waiting for file changes before starting...

Luisotee commented 10 months ago

Try to delete node_modules and then do yarn install again

solution01 commented 10 months ago

I carried out the requested procedure, I will analyze it here for a few days and then I will get back to you, thank you for your usual support @Luisotee

solution01 commented 10 months ago

Problem solved, thanks for your support