whatsapp-gateway
whatsapp-gateway copied to clipboard
error to create instance
When creating an instance the library reports an error and crashes. Never read the QR.
follow the error
1 teste 5519996794031 node:fs:594 handleErrorFromBinding(ctx); ^
Error: ENOENT: no such file or directory, open './public/log/teste.txt'
at Object.openSync (node:fs:594:3)
at Object.writeFileSync (node:fs:2207:35)
at EventEmitter.
How can I adjust error?